From 50f089dcb06685e3f520f7af33ea78acffa8bb0d Mon Sep 17 00:00:00 2001 From: juhosg Date: Sun, 3 Jan 2010 12:14:14 +0000 Subject: adm5120: fix board detection git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19015 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/adm5120/base-files/lib/adm5120.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux') diff --git a/target/linux/adm5120/base-files/lib/adm5120.sh b/target/linux/adm5120/base-files/lib/adm5120.sh index fb0526e40..06e2aac2d 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"*) -- cgit v1.2.3