aboutsummaryrefslogtreecommitdiffstats
path: root/main/bridge/bridge.pre-up
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-03-15 14:36:48 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-03-15 14:36:48 +0000
commitea34ed66476564158dbd31e19043cf6514304b6d (patch)
treed9573142640d018b0fb7027158d92fa69f9ab481 /main/bridge/bridge.pre-up
parent2d97a73b3e2d1ff5c9bd5ecf47236ab337519ccc (diff)
downloadaports-ea34ed66476564158dbd31e19043cf6514304b6d.tar.bz2
aports-ea34ed66476564158dbd31e19043cf6514304b6d.tar.xz
main/bridge: fix for ifdown
needs to set link down before deleting bridge
Diffstat (limited to 'main/bridge/bridge.pre-up')
-rwxr-xr-xmain/bridge/bridge.pre-up1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/bridge/bridge.pre-up b/main/bridge/bridge.pre-up
index 7cb4160f52..24a65c5ac4 100755
--- a/main/bridge/bridge.pre-up
+++ b/main/bridge/bridge.pre-up
@@ -133,6 +133,7 @@ start)
wait_bridge
;;
stop) del_ports
+ ip link set dev $IFACE down
brctl delbr $IFACE || exit 1
;;
esac