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