[package] swconfig: clear ip address on the switch interface, this prevents duplicate...
[openwrt-10.03/.git] / package / swconfig / files / switch.sh
index d752b1383d8ece7525a281059415a1e0a07debe8..7078b2e823e3bf2e575b0ca85b7974a593606a31 100644 (file)
@@ -2,6 +2,7 @@
 # Copyright (C) 2009 OpenWrt.org
 
 setup_switch_dev() {
+       ifconfig "$1" 0.0.0.0
        swconfig dev "$1" load network
 }