projects
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
ed76cd80144cfd69f7fdb10f299cda0136b7492e
[openwrt.git]
/
target
/
linux
/
lantiq
/
base-files
/
lib
/
functions
/
lantiq.sh
1
#!/bin/sh
2
3
lantiq_board_id() {
4
grep "^machine" /proc/cpuinfo | sed "s/machine.*: \(.*\)/\1/g" | sed "s/\(.*\) - .*/\1/g"
5
}
6
7
lantiq_board_name() {
8
grep "^machine" /proc/cpuinfo | sed "s/machine.*: \(.*\)/\1/g" | sed "s/.* - \(.*\)/\1/g"
9
}