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
This commit is contained in:
John Crispin
2014-04-10 08:14:33 +00:00
parent 8bfe9acecf
commit eebc673f1e
3 changed files with 38 additions and 6 deletions

View File

@@ -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}\""

View File

@@ -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