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

SVN-Revision: 20733
This commit is contained in:
Jo-Philipp Wich 2010-04-06 22:46:15 +00:00
parent a98a5a907a
commit 44810702d2

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
}