summaryrefslogtreecommitdiff
path: root/package/base-files/extra/etc/network/if-post-down.d/01-bridge
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-12-29 22:25:14 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2009-12-29 22:25:14 +0100
commit8d7b67dcc1e0f49d11bb98614dc1aad30ddfb4a1 (patch)
tree06f907b074ad1c5181b9ee2904d849235ef2704b /package/base-files/extra/etc/network/if-post-down.d/01-bridge
parent48ed66e5cb97df911aaf2d45200b5f1113e8261d (diff)
make vlan configuration work with ifup/ifdown
Diffstat (limited to 'package/base-files/extra/etc/network/if-post-down.d/01-bridge')
-rwxr-xr-xpackage/base-files/extra/etc/network/if-post-down.d/01-bridge2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/base-files/extra/etc/network/if-post-down.d/01-bridge b/package/base-files/extra/etc/network/if-post-down.d/01-bridge
index eda1fe3bf..47f3c976b 100755
--- a/package/base-files/extra/etc/network/if-post-down.d/01-bridge
+++ b/package/base-files/extra/etc/network/if-post-down.d/01-bridge
@@ -22,3 +22,5 @@ for IF in $INTERFACES; do
done
ip link set down dev $IFACE || exit 1
+brctl delbr $IFACE
+exit 0