From: Gabor Juhos Date: Sun, 3 Jan 2010 12:14:14 +0000 (+0000) Subject: adm5120: fix board detection X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=87d1ab25afbdb41161a70d21de817368db3b647d;p=openwrt%2Fstaging%2Fmkresin.git adm5120: fix board detection SVN-Revision: 19015 --- 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"*)