projects
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
lantiq: add /lib/lantiq.sh and make hotplug handlers use it
[openwrt.git]
/
target
/
linux
/
lantiq
/
base-files
/
lib
/
lantiq.sh
1
#!/bin/sh
2
3
lantiq_soc_name
() {
4
grep
^system
/
proc
/
cpuinfo |
sed
"s/system type.*: \(.*\)/\1/g"
5
}
6
7
lantiq_board_name
() {
8
grep
^machine
/
proc
/
cpuinfo |
sed
"s/machine.*: \(.*\)/\1/g"
|
sed
"s/\(.*\) - .*/\1/g"
9
}
This page took
0.048174 seconds
and
5
git commands to generate.