mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-01 19:46:51 +00:00
adm5120: fix board detection
SVN-Revision: 19015
This commit is contained in:
parent
2a87343a00
commit
87d1ab25af
@ -9,7 +9,7 @@ status_led=""
|
|||||||
sys_mtd_part=""
|
sys_mtd_part=""
|
||||||
|
|
||||||
adm5120_detect() {
|
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
|
case "$board_name" in
|
||||||
"Cellvision"*)
|
"Cellvision"*)
|
||||||
|
Loading…
Reference in New Issue
Block a user