1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-10-02 16:31:40 +03:00

[atheros] fix failsafe ip deconfig on AR23xx devices without ADM or Marvell switch

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20733 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow 2010-04-06 22:46:15 +00:00
parent 66ce06493d
commit ecb800093e

View File

@ -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
}