bridge: don't generate dependencies for bridge-ports none
This commit is contained in:
parent
3997b6a952
commit
0ff263a02a
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue