don't bring down interfaces when preparing them

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13079 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Felix Fietkau 2008-10-29 17:26:59 +00:00
parent 382a56d914
commit 59e8afdeb4
1 changed files with 2 additions and 2 deletions

View File

@ -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"
}