aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/base-files/lib
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2011-11-15 18:21:00 +0000
committerJohn Crispin <blogic@openwrt.org>2011-11-15 18:21:00 +0000
commitc8c032629a9280713cc80d3af904999ba36dbee1 (patch)
tree8a2cdec9fa21bb770feaa16d7ed7298efb0a0264 /target/linux/lantiq/base-files/lib
parente5101a852c74776e83884362a3150d6dde165623 (diff)
downloadmaster-187ad058-c8c032629a9280713cc80d3af904999ba36dbee1.tar.gz
master-187ad058-c8c032629a9280713cc80d3af904999ba36dbee1.tar.bz2
master-187ad058-c8c032629a9280713cc80d3af904999ba36dbee1.zip
lantiq: add runtime generation of /etc/config/network
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29161 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/lantiq/base-files/lib')
-rw-r--r--target/linux/lantiq/base-files/lib/lantiq.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/lantiq/base-files/lib/lantiq.sh b/target/linux/lantiq/base-files/lib/lantiq.sh
index 75e8ac272b..3d36ed03fe 100644
--- a/target/linux/lantiq/base-files/lib/lantiq.sh
+++ b/target/linux/lantiq/base-files/lib/lantiq.sh
@@ -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"
}