From 5df57010b8afe0ec77275ba1d04f65a09ef2c2f2 Mon Sep 17 00:00:00 2001 From: blogic Date: Tue, 15 Nov 2011 18:21:00 +0000 Subject: lantiq: add runtime generation of /etc/config/network git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29161 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/lantiq/base-files/lib/lantiq.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'target/linux/lantiq/base-files/lib') diff --git a/target/linux/lantiq/base-files/lib/lantiq.sh b/target/linux/lantiq/base-files/lib/lantiq.sh index 75e8ac272..3d36ed03f 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" } -- cgit v1.2.3