aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/adm5120/base-files
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-01-03 12:14:14 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-01-03 12:14:14 +0000
commit87d1ab25afbdb41161a70d21de817368db3b647d (patch)
tree3c0f01adb672e189221130b218d431dbbe09e3ab /target/linux/adm5120/base-files
parent2a87343a00747393e8cb24e15d3f15696cddad37 (diff)
downloadupstream-87d1ab25afbdb41161a70d21de817368db3b647d.tar.gz
upstream-87d1ab25afbdb41161a70d21de817368db3b647d.tar.bz2
upstream-87d1ab25afbdb41161a70d21de817368db3b647d.zip
adm5120: fix board detection
SVN-Revision: 19015
Diffstat (limited to 'target/linux/adm5120/base-files')
-rwxr-xr-xtarget/linux/adm5120/base-files/lib/adm5120.sh2
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 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"*)