From: jow Date: Tue, 6 Apr 2010 22:47:08 +0000 (+0000) Subject: [backfire] merge r20733 X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=0f73eb6c5bf8951c6832ee7f08b3c57034c24575;p=10.03%2Fopenwrt.git [backfire] merge r20733 git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@20734 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/target/linux/atheros/base-files/lib/preinit/15_preinit_iface_atheros b/target/linux/atheros/base-files/lib/preinit/15_preinit_iface_atheros index 9807365c2..434103e17 100644 --- a/target/linux/atheros/base-files/lib/preinit/15_preinit_iface_atheros +++ b/target/linux/atheros/base-files/lib/preinit/15_preinit_iface_atheros @@ -29,5 +29,7 @@ preinit_ip_deconfig() { -e "/sys/bus/mdio_bus/drivers/Marvell 88E6060/0:10" ]; then vconfig rem eth0.1 2>/dev/null ifconfig $pi_ifname down + elif [ -n "$pi_ifname" ]; then + ifconfig $pi_ifname 0.0.0.0 fi }