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 <ha...@hauke-m.de>
---
 package/base-files/files/bin/config_generate | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/base-files/files/bin/config_generate 
b/package/base-files/files/bin/config_generate
index 550de0e..4256d3c 100755
--- a/package/base-files/files/bin/config_generate
+++ b/package/base-files/files/bin/config_generate
@@ -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'
-- 
2.7.0
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to