diff options
author | John Crispin <john@openwrt.org> | 2014-04-10 08:14:33 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-04-10 08:14:33 +0000 |
commit | eebc673f1e325a0e716087975f2daf552e9ab689 (patch) | |
tree | 51a8cecb0c7d548a08377892a73c1f22a30b6101 /package/network | |
parent | 8bfe9acecfee7742974d0731ea471381323b53ab (diff) | |
download | mtk-20170518-eebc673f1e325a0e716087975f2daf552e9ab689.zip mtk-20170518-eebc673f1e325a0e716087975f2daf552e9ab689.tar.gz mtk-20170518-eebc673f1e325a0e716087975f2daf552e9ab689.tar.bz2 |
lantiq: move the dsl-modem config to network.@dsl-modem[-1]
make sure uci_defaults generates a proper uci config for the v/adsl modem
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 40439
Diffstat (limited to 'package/network')
-rw-r--r-- | package/network/config/ltq-adsl-app/files/dsl_control | 4 | ||||
-rw-r--r-- | package/network/config/ltq-vdsl-app/files/dsl_control | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/package/network/config/ltq-adsl-app/files/dsl_control b/package/network/config/ltq-adsl-app/files/dsl_control index d48f3f6..e48b72b 100644 --- a/package/network/config/ltq-adsl-app/files/dsl_control +++ b/package/network/config/ltq-adsl-app/files/dsl_control @@ -32,8 +32,8 @@ start() { local firmware local xtu config_load network - config_get annex wan annex - config_get firmware wan firmware + config_get annex dsl annex + config_get firmware dsl firmware eval "xtu=\"\${annex_$annex}\"" diff --git a/package/network/config/ltq-vdsl-app/files/dsl_control b/package/network/config/ltq-vdsl-app/files/dsl_control index 81db4d2..c6be228 100644 --- a/package/network/config/ltq-vdsl-app/files/dsl_control +++ b/package/network/config/ltq-vdsl-app/files/dsl_control @@ -134,10 +134,10 @@ start() { local mode config_load network - config_get tone wan tone - config_get annex wan annex - config_get firmware wan firmware - config_get xfer_mode wan xfer_mode + config_get tone dsl tone + config_get annex dsl annex + config_get firmware dsl firmware + config_get xfer_mode dsl xfer_mode [ -z "${xfer_mode}" ] && xfer_mode=ptm |