[package] libpcap: explicitely disable libnl support to prevent different build resul...
[openwrt.git] / target / linux / lantiq / base-files / lib / lantiq.sh
index 75e8ac2..e4f1471 100644 (file)
@@ -1,5 +1,9 @@
 #!/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"
 }
@@ -7,3 +11,7 @@ lantiq_soc_name() {
 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"
+}
This page took 0.020185 seconds and 4 git commands to generate.