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)
commite9c80a1224213a1bb33f56d329c6d277b29cb4c5
tree5f56f1f54a0b6bb2eca7dc15ae2616f0066e3e25
parentccccc104b3603d903a591c21cbea211ab757fbba
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