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:
@@ -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}\""
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user