From 254f7f5532f6cf68fabdc1afacb20303ebfed7de Mon Sep 17 00:00:00 2001 From: blogic Date: Thu, 10 Apr 2014 08:14:33 +0000 Subject: lantiq: move the dsl-modem config to network.@dsl-modem[-1] make sure uci_defaults generates a proper uci config for the v/adsl modem Signed-off-by: John Crispin git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40439 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../lantiq/base-files/etc/uci-defaults/02_network | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'target/linux') diff --git a/target/linux/lantiq/base-files/etc/uci-defaults/02_network b/target/linux/lantiq/base-files/etc/uci-defaults/02_network index 428089ceb7..ac06e5f278 100644 --- a/target/linux/lantiq/base-files/etc/uci-defaults/02_network +++ b/target/linux/lantiq/base-files/etc/uci-defaults/02_network @@ -28,6 +28,30 @@ set network.wan6.proto='dhcpv6' EOF } +set_adsl_modem() { + local annex=$1 + local firmware=$2 + uci batch <