mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00: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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user