Browse Source

adm5120: fix board detection

SVN-Revision: 19015
Gabor Juhos 16 years ago
parent
commit
87d1ab25af
1 changed files with 1 additions and 1 deletions
  1. 1 1
      target/linux/adm5120/base-files/lib/adm5120.sh

+ 1 - 1
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"*)