summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/bridge/APKBUILD4
-rwxr-xr-xmain/bridge/bridge.pre-up1
2 files changed, 3 insertions, 2 deletions
diff --git a/main/bridge/APKBUILD b/main/bridge/APKBUILD
index 72b901e63..eae4f1fee 100644
--- a/main/bridge/APKBUILD
+++ b/main/bridge/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=bridge
pkgver=1.5
-pkgrel=0
+pkgrel=1
pkgdesc="Scripts for configuring network bridge interfaces"
url="http://wiki.alpinelinux.org/wiki/Bridge"
arch="noarch"
@@ -36,4 +36,4 @@ package() {
ln -s ../if-pre-up.d/bridge "$pkgdir"/etc/network/if-post-down.d/bridge
}
-md5sums="ba87e0186cd37bcf6e3515207141bc4e bridge.pre-up"
+md5sums="eb51ae10cafe69c52c85d93d4b2bd4c6 bridge.pre-up"
diff --git a/main/bridge/bridge.pre-up b/main/bridge/bridge.pre-up
index 7cb4160f5..24a65c5ac 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