fix failsafe ip deconfig on AR23xx devices without ADM or Marvell switch
SVN-Revision: 20733
This commit is contained in:
parent
a98a5a907a
commit
44810702d2
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue