base-files: change type of adsl and vdsl to dsl only
authorFelix Fietkau <nbd@openwrt.org>
Mon, 7 Mar 2016 11:03:29 +0000 (11:03 +0000)
committerFelix Fietkau <nbd@openwrt.org>
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>
SVN-Revision: 48944

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'