projects
/
openwrt
/
staging
/
svanheule.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4f11ca
)
don't bring down interfaces when preparing them
author
Felix Fietkau
<nbd@openwrt.org>
Wed, 29 Oct 2008 17:26:59 +0000
(17:26 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Wed, 29 Oct 2008 17:26:59 +0000
(17:26 +0000)
SVN-Revision: 13079
package/base-files/files/lib/network/config.sh
patch
|
blob
|
history
diff --git
a/package/base-files/files/lib/network/config.sh
b/package/base-files/files/lib/network/config.sh
index dfee674915b8337f4a3b25000c114e09535b8368..b89168e07c7eb172160c0fd82e6bbeb3b2a14329 100755
(executable)
--- 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"
}