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 | e811173345b4a7dbd109c2c95427e4c43076ec8d (patch) | |
tree | 9669d3999dbffcca759820f676c569289354448e /target | |
parent | 141b8883e207c94b36ddfd88c8b79f839418335f (diff) | |
download | upstream-e811173345b4a7dbd109c2c95427e4c43076ec8d.tar.gz upstream-e811173345b4a7dbd109c2c95427e4c43076ec8d.tar.bz2 upstream-e811173345b4a7dbd109c2c95427e4c43076ec8d.zip |
adm5120: fix board detection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19015 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-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 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"*) |