mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 06:20:16 +02:00
adm5120: fix board detection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19015 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
d6910d3ff9
commit
50f089dcb0
@ -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"*)
|
||||
|
Loading…
Reference in New Issue
Block a user