From f080cfab72d8801856fa01f0476f1fc9b920a9d9 Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Sun, 19 Jun 2016 16:30:55 +0200 Subject: [PATCH] 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 --- .../base-files/lib/preinit/05_set_preinit_iface_lantiq | 10 +--------- 1 file changed, 1 insertion(+), 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 -- 2.25.1