summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux')
-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"*)