bridge: don't generate dependencies for bridge-ports none

This commit is contained in:
Ariadne Conill 2020-08-25 08:09:31 -06:00
parent 3997b6a952
commit 0ff263a02a

View file

@ -1,4 +1,8 @@
#!/bin/sh #!/bin/sh
case "$PHASE" in case "$PHASE" in
depend) echo "$IF_BRIDGE_PORTS" ;; depend)
if [ "$IF_BRIDGE_PORTS" != "none" ]; then
echo "$IF_BRIDGE_PORTS"
fi
;;
esac esac