Merge pull request #40 from ifupdown-ng/bugfix/bridge-ports-none
bridge: don't generate dependencies for bridge-ports none
This commit is contained in:
commit
b311293c6b
1 changed files with 5 additions and 1 deletions
|
@ -1,4 +1,8 @@
|
|||
#!/bin/sh
|
||||
case "$PHASE" in
|
||||
depend) echo "$IF_BRIDGE_PORTS" ;;
|
||||
depend)
|
||||
if [ "$IF_BRIDGE_PORTS" != "none" ]; then
|
||||
echo "$IF_BRIDGE_PORTS"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Reference in a new issue