diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-03-15 14:36:48 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-03-15 14:36:48 +0000 |
commit | ea34ed66476564158dbd31e19043cf6514304b6d (patch) | |
tree | d9573142640d018b0fb7027158d92fa69f9ab481 /main/bridge/bridge.pre-up | |
parent | 2d97a73b3e2d1ff5c9bd5ecf47236ab337519ccc (diff) | |
download | aports-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-x | main/bridge/bridge.pre-up | 1 |
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 |