projects
/
openwrt
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
lantiq: * fixes ath5k eeprom handling * fixes sx76x * adds sx76x to userland api...
[openwrt/.git]
/
target
/
linux
/
lantiq
/
base-files
/
lib
/
lantiq.sh
1
#!/bin/sh
2
3
lantiq_soc_has_adsl() {
4
ls /lib/modules/*/drv_dsl_cpe_api.ko
5
}
6
7
lantiq_soc_name() {
8
grep ^system /proc/cpuinfo | sed "s/system type.*: \(.*\)/\1/g"
9
}
10
11
lantiq_board_name() {
12
grep ^machine /proc/cpuinfo | sed "s/machine.*: \(.*\)/\1/g" | sed "s/\(.*\) - .*/\1/g"
13
}