mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 06:33:41 +00:00
bbe96f13a6
SVN-Revision: 29161
14 lines
277 B
Bash
14 lines
277 B
Bash
#!/bin/sh
|
|
|
|
lantiq_soc_has_adsl() {
|
|
ls /lib/modules/*/drv_dsl_cpe_api.ko
|
|
}
|
|
|
|
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"
|
|
}
|