summaryrefslogtreecommitdiff
path: root/package/base-files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-03-07 11:03:29 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-03-07 11:03:29 +0000
commit956794c2e9b8875c895a88221658a33b7d582206 (patch)
tree8272ab666b423c6343ecb9bd02ab574662cd04b6 /package/base-files
parenta5a8ffb0b65f908fc5e9c795d7e688ab1d3aa0db (diff)
downloadmtk-20170518-956794c2e9b8875c895a88221658a33b7d582206.zip
mtk-20170518-956794c2e9b8875c895a88221658a33b7d582206.tar.gz
mtk-20170518-956794c2e9b8875c895a88221658a33b7d582206.tar.bz2
base-files: change type of adsl and vdsl to dsl only
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
Diffstat (limited to 'package/base-files')
-rwxr-xr-xpackage/base-files/files/bin/config_generate2
1 files changed, 1 insertions, 1 deletions
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'