diff options
author | Florian Eckert <fe@dev.tdt.de> | 2019-06-26 12:45:46 +0200 |
---|---|---|
committer | Florian Eckert <fe@dev.tdt.de> | 2019-06-26 12:45:50 +0200 |
commit | 7d734691ce2a2683499b69777bf184e0ddfd2c5c (patch) | |
tree | 395af8a9d7740f7f7cfa7fdabf95db6899379864 /protocols/luci-proto-3g/luasrc/model/cbi | |
parent | 1fb68aad35a4b6e5e6c0cee65198439633b0e9fa (diff) |
luci-proto-3g: rename maxwait to delay option
The option maxwait is not support by the 3g netifd proto.
To standardize that rename the maxwait option to delay as in the other
proto handlers luci-proto-qmi and luci-proto-ncm.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'protocols/luci-proto-3g/luasrc/model/cbi')
-rw-r--r-- | protocols/luci-proto-3g/luasrc/model/cbi/admin_network/proto_3g.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/luci-proto-3g/luasrc/model/cbi/admin_network/proto_3g.lua b/protocols/luci-proto-3g/luasrc/model/cbi/admin_network/proto_3g.lua index e05e3a47fd..85c5cd6042 100644 --- a/protocols/luci-proto-3g/luasrc/model/cbi/admin_network/proto_3g.lua +++ b/protocols/luci-proto-3g/luasrc/model/cbi/admin_network/proto_3g.lua @@ -4,7 +4,7 @@ local map, section, net = ... local device, apn, service, pincode, username, password, dialnumber -local ipv6, maxwait, defaultroute, metric, peerdns, dns, +local ipv6, delay, defaultroute, metric, peerdns, dns, keepalive_failure, keepalive_interval, demand @@ -58,12 +58,12 @@ if luci.model.network:has_ipv6() then end -maxwait = section:taboption("advanced", Value, "maxwait", +delay = section:taboption("advanced", Value, "delay", translate("Modem init timeout"), translate("Maximum amount of seconds to wait for the modem to become ready")) -maxwait.placeholder = "20" -maxwait.datatype = "min(1)" +delay.placeholder = "10" +delay.datatype = "min(1)" defaultroute = section:taboption("advanced", Flag, "defaultroute", |