mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-13 23:47:32 +02:00
f8d8046b51
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30518 3c298f89-4303-0410-b956-a3cf2f4a3e73
18 lines
378 B
Bash
18 lines
378 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"
|
|
}
|
|
|
|
lantiq_dsl_fwannex() {
|
|
ls /lib/firmware/dsl-fw-*.bin 2> /dev/null | sed "s/.*\([ab]\)\.bin/\1/g"
|
|
}
|