[OpenWrt-Devel] [PATCH v2 06/11] base-files: change type of adsl and vdsl to dsl only
Hauke Mehrtens
hauke at hauke-m.de
Sun Feb 28 13:44:29 EST 2016
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 at 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 at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list