Changeset 19015


Ignore:
Timestamp:
2010-01-03T13:14:14+01:00 (8 years ago)
Author:
juhosg
Message:

adm5120: fix board detection

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/adm5120/base-files/lib/adm5120.sh

    r15245 r19015  
    1010 
    1111adm5120_detect() { 
    12         board_name=$(awk 'BEGIN{FS="[ \t]+:[ \t]"} /system type/ {print $2}' /proc/cpuinfo) 
     12        board_name=$(awk 'BEGIN{FS="[ \t]+:[ \t]"} /machine/ {print $2}' /proc/cpuinfo) 
    1313 
    1414        case "$board_name" in 
Note: See TracChangeset for help on using the changeset viewer.