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:
Ariadne Conill 2020-08-25 08:10:26 -06:00 committed by GitHub
commit b311293c6b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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