[package] swconfig: clear ip address on the switch interface, this prevents duplicate...
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 16 Sep 2009 14:23:01 +0000 (14:23 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 16 Sep 2009 14:23:01 +0000 (14:23 +0000)
SVN-Revision: 17597

package/swconfig/Makefile
package/swconfig/files/switch.sh

index a3844c5..bec94a1 100644 (file)
@@ -8,7 +8,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=swconfig
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 include $(INCLUDE_DIR)/package.mk
 include $(INCLUDE_DIR)/kernel.mk
index d752b13..7078b2e 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
 }