mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-02 06:34:03 +02:00
10 lines
212 B
Bash
10 lines
212 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
lantiq_soc_name() {
|
||
|
grep ^system /proc/cpuinfo | sed "s/system type.*: \(.*\)/\1/g"
|
||
|
}
|
||
|
|
||
|
lantiq_board_name() {
|
||
|
grep ^machine /proc/cpuinfo | sed "s/machine.*: \(.*\)/\1/g" | sed "s/\(.*\) - .*/\1/g"
|
||
|
}
|