diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2010-01-03 12:14:14 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2010-01-03 12:14:14 +0000 |
commit | 87d1ab25afbdb41161a70d21de817368db3b647d (patch) | |
tree | 3c0f01adb672e189221130b218d431dbbe09e3ab /target/linux/adm5120/base-files/lib | |
parent | 2a87343a00747393e8cb24e15d3f15696cddad37 (diff) | |
download | mtk-20170518-87d1ab25afbdb41161a70d21de817368db3b647d.zip mtk-20170518-87d1ab25afbdb41161a70d21de817368db3b647d.tar.gz mtk-20170518-87d1ab25afbdb41161a70d21de817368db3b647d.tar.bz2 |
adm5120: fix board detection
SVN-Revision: 19015
Diffstat (limited to 'target/linux/adm5120/base-files/lib')
-rwxr-xr-x | target/linux/adm5120/base-files/lib/adm5120.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/adm5120/base-files/lib/adm5120.sh b/target/linux/adm5120/base-files/lib/adm5120.sh index fb0526e..06e2aac 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"*) |