aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/base-files/lib
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2011-11-15 18:21:00 +0000
committerJohn Crispin <john@openwrt.org>2011-11-15 18:21:00 +0000
commitbbe96f13a6d3ad07569d03670f9930144e8a5f09 (patch)
treea11303a8801faee7373d5af7c984605476af4259 /target/linux/lantiq/base-files/lib
parent13839520bcc431f94d6ed7aeb75259936400565a (diff)
downloadupstream-bbe96f13a6d3ad07569d03670f9930144e8a5f09.tar.gz
upstream-bbe96f13a6d3ad07569d03670f9930144e8a5f09.tar.bz2
upstream-bbe96f13a6d3ad07569d03670f9930144e8a5f09.zip
lantiq: add runtime generation of /etc/config/network
SVN-Revision: 29161
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"
}