From eebc673f1e325a0e716087975f2daf552e9ab689 Mon Sep 17 00:00:00 2001 From: John Crispin 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 SVN-Revision: 40439 --- .../lantiq/base-files/etc/uci-defaults/02_network | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'target/linux/lantiq/base-files') 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 <