You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

17 lines
378 B

#!/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"
}