Changeset 36444


Ignore:
Timestamp:
2013-04-25T21:03:37+02:00 (5 years ago)
Author:
blogic
Message:

lantiq: fix board detection helpers

Signed-off-by: John Crispin <blogic@…>

File:
1 edited

Legend:

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

    r34698 r36444  
    22 
    33lantiq_board_id() { 
    4         grep "^system type" /proc/cpuinfo | sed "s/system type.*: \(.*\)/\1/g" | sed "s/.* - \(.*\) - .*/\1/g" 
     4        grep "^machine" /proc/cpuinfo | sed "s/machine.*: \(.*\)/\1/g" | sed "s/\(.*\) - .*/\1/g"              
    55} 
    66 
    77lantiq_board_name() { 
    8         grep "^system type" /proc/cpuinfo | sed "s/system type.*: \(.*\)/\1/g" | sed "s/.* - \(.*\)/\1/g" 
     8        grep "^machine" /proc/cpuinfo | sed "s/machine.*: \(.*\)/\1/g" | sed "s/.* - \(.*\)/\1/g" 
    99} 
Note: See TracChangeset for help on using the changeset viewer.