ar71xx: fix failsafe acces on several devices
authorGabor Juhos <juhosg@openwrt.org>
Tue, 25 Feb 2014 17:40:04 +0000 (17:40 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Tue, 25 Feb 2014 17:40:04 +0000 (17:40 +0000)
commite3593416bcff5defeedc261ab76e9e6065703314
tree3d171bfb8de083e4b6d3c0b80206262a3c381d9b
parentce4b80d14c8f51064179a24c74862162e8ffac9a
ar71xx: fix failsafe acces on several devices

The ar71xx platform always uses the eth0 interface to provide
access to the device in failsafe mode. Due to this, failsafe
access is broken on devices where the LAN ports are connected
to the 'eth1' interface.

Update the relevant script to correctly set the ifname variable
for these devices.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39752
target/linux/ar71xx/base-files/lib/preinit/05_set_preinit_iface_ar71xx