mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-11 20:40:15 +02: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:
parent
66ce06493d
commit
ecb800093e
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user