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

SVN-Revision: 20733
master
Jo-Philipp Wich 15 years ago
parent a98a5a907a
commit 44810702d2
  1. 2
      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
}

Loading…
Cancel
Save