From 87d1ab25afbdb41161a70d21de817368db3b647d Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Sun, 3 Jan 2010 12:14:14 +0000 Subject: [PATCH] adm5120: fix board detection SVN-Revision: 19015 --- target/linux/adm5120/base-files/lib/adm5120.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/adm5120/base-files/lib/adm5120.sh b/target/linux/adm5120/base-files/lib/adm5120.sh index fb0526e402..06e2aac2dd 100755 --- a/target/linux/adm5120/base-files/lib/adm5120.sh +++ b/target/linux/adm5120/base-files/lib/adm5120.sh @@ -9,7 +9,7 @@ status_led="" sys_mtd_part="" adm5120_detect() { - board_name=$(awk 'BEGIN{FS="[ \t]+:[ \t]"} /system type/ {print $2}' /proc/cpuinfo) + board_name=$(awk 'BEGIN{FS="[ \t]+:[ \t]"} /machine/ {print $2}' /proc/cpuinfo) case "$board_name" in "Cellvision"*) -- 2.30.2