aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-10-29 17:26:59 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-10-29 17:26:59 +0000
commit59e8afdeb488cf78465366792f8266028ac53ec0 (patch)
tree8ceec91ee2f702dba27a54d72136475bc9ad9608 /package
parent382a56d914fd45b0854cd2a770473c46810d0a85 (diff)
downloadmaster-187ad058-59e8afdeb488cf78465366792f8266028ac53ec0.tar.gz
master-187ad058-59e8afdeb488cf78465366792f8266028ac53ec0.tar.bz2
master-187ad058-59e8afdeb488cf78465366792f8266028ac53ec0.zip
don't bring down interfaces when preparing them
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13079 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rwxr-xr-xpackage/base-files/files/lib/network/config.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/base-files/files/lib/network/config.sh b/package/base-files/files/lib/network/config.sh
index dfee674915..b89168e07c 100755
--- a/package/base-files/files/lib/network/config.sh
+++ b/package/base-files/files/lib/network/config.sh
@@ -90,8 +90,8 @@ prepare_interface() {
[ "br-$config" = "$iface" -o -e "$iface" ] && return 0;
ifconfig "$iface" 2>/dev/null >/dev/null && {
- # make sure the interface is removed from any existing bridge and brought down
- ifconfig "$iface" down
+ # make sure the interface is removed from any existing bridge and deconfigured
+ ifconfig "$iface" 0.0.0.0
unbridge "$iface"
}