summaryrefslogtreecommitdiff
path: root/package/base-files/extra/etc/network/if-post-down.d/01-bridge
diff options
context:
space:
mode:
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