From c8bde9da4af4b66ce613d37a04bbd601d8b0329d Mon Sep 17 00:00:00 2001 From: John Crispin Date: Mon, 14 Jul 2014 07:38:52 +0000 Subject: lantiq: detect board in preinit state Signed-off-by: John Crispin SVN-Revision: 41638 --- target/linux/lantiq/base-files/lib/functions/lantiq.sh | 2 -- 1 file changed, 2 deletions(-) (limited to 'target/linux/lantiq/base-files/lib/functions') diff --git a/target/linux/lantiq/base-files/lib/functions/lantiq.sh b/target/linux/lantiq/base-files/lib/functions/lantiq.sh index f02edbcbb1..88da794ca9 100644 --- a/target/linux/lantiq/base-files/lib/functions/lantiq.sh +++ b/target/linux/lantiq/base-files/lib/functions/lantiq.sh @@ -13,7 +13,6 @@ lantiq_board_detect() { lantiq_board_model() { local model - [ -f /tmp/sysinfo/model ] || lantiq_board_detect [ -f /tmp/sysinfo/model ] && model=$(cat /tmp/sysinfo/model) [ -z "$model" ] && model="unknown" @@ -23,7 +22,6 @@ lantiq_board_model() { lantiq_board_name() { local name - [ -f /tmp/sysinfo/board_name ] || lantiq_board_detect [ -f /tmp/sysinfo/board_name ] && name=$(cat /tmp/sysinfo/board_name) [ -z "$name" ] && name="unknown" -- cgit v1.2.3