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)
commitd159681db3b29a7c74f356080106192e9bfc8665
tree3d171bfb8de083e4b6d3c0b80206262a3c381d9b
parent12ed30907b87758d909644d4648552fbebbf959c
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39752 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/ar71xx/base-files/lib/preinit/05_set_preinit_iface_ar71xx