base-files: change type of adsl and vdsl to dsl only
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 7 Mar 2016 11:03:29 +0000 (11:03 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 7 Mar 2016 11:03:29 +0000 (11:03 +0000)
Instead of having two different types adsl and vdsl just create one dsl
type. This way we can use the same luci code for adsl and vdsl and the
config parameters are not so different.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48944 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/base-files/files/bin/config_generate

index 550de0e..4256d3c 100755 (executable)
@@ -42,7 +42,7 @@ generate_static_network() {
                                        json_get_vars type annex firmware tone xfer_mode
                                        uci -q batch <<-EOF
                                                delete network.dsl
-                                               set network.dsl='$type'
+                                               set network.dsl='dsl'
                                                set network.dsl.annex='$annex'
                                                set network.dsl.firmware='$firmware'
                                                set network.dsl.tone='$tone'