ar71xx: fix failsafe acces on several devices
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 25 Feb 2014 17:40:04 +0000 (17:40 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 25 Feb 2014 17:40:04 +0000 (17:40 +0000)
commit8b60c3099df664a23a2ef1970c6577afb1d6ab64
tree3d171bfb8de083e4b6d3c0b80206262a3c381d9b
parenta5447f5769c3ad94bd86194e9abe83bdac3d1a91
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