projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
swconfig: clear ip address on the switch interface, this prevents duplicate assignmen...
[openwrt/openwrt.git]
/
package
/
swconfig
/
files
/
switch.sh
diff --git
a/package/swconfig/files/switch.sh
b/package/swconfig/files/switch.sh
index d752b1383d8ece7525a281059415a1e0a07debe8..7078b2e823e3bf2e575b0ca85b7974a593606a31 100644
(file)
--- a/
package/swconfig/files/switch.sh
+++ b/
package/swconfig/files/switch.sh
@@
-2,6
+2,7
@@
# Copyright (C) 2009 OpenWrt.org
setup_switch_dev() {
+ ifconfig "$1" 0.0.0.0
swconfig dev "$1" load network
}