aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2016-06-19 16:30:55 +0200
committerJohn Crispin <john@phrozen.org>2016-06-22 19:32:06 +0200
commitf080cfab72d8801856fa01f0476f1fc9b920a9d9 (patch)
treea477d355ffe39287487bb43ad7fef72e8a2c0d8f /target/linux/lantiq
parentacd41539d630688e9891003c9b51cace3e113316 (diff)
downloadupstream-f080cfab72d8801856fa01f0476f1fc9b920a9d9.tar.gz
upstream-f080cfab72d8801856fa01f0476f1fc9b920a9d9.tar.bz2
upstream-f080cfab72d8801856fa01f0476f1fc9b920a9d9.zip
lantiq: fix network in failsafe
So far the network in failsafe is setup only for one board. Use the eth0 interface as lan interface for all boards for now. If a board has its lan interface(s) on another eth, a special handling based on the board name can be added. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/lantiq')
-rw-r--r--target/linux/lantiq/base-files/lib/preinit/05_set_preinit_iface_lantiq10
1 files changed, 1 insertions, 9 deletions
diff --git a/target/linux/lantiq/base-files/lib/preinit/05_set_preinit_iface_lantiq b/target/linux/lantiq/base-files/lib/preinit/05_set_preinit_iface_lantiq
index 3d7fabf8e3..7ed0fabcf7 100644
--- a/target/linux/lantiq/base-files/lib/preinit/05_set_preinit_iface_lantiq
+++ b/target/linux/lantiq/base-files/lib/preinit/05_set_preinit_iface_lantiq
@@ -3,15 +3,7 @@
. /lib/functions/lantiq.sh
set_preinit_iface() {
-
- board=$(lantiq_board_name)
-
- case "$board" in
- TDW8970)
- ifname=eth0
- ;;
- esac
-
+ ifname=eth0
}
boot_hook_add preinit_main set_preinit_iface