summaryrefslogtreecommitdiffhomepage
path: root/protocols/luci-proto-3g
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2019-07-03 08:59:35 +0200
committerGitHub <noreply@github.com>2019-07-03 08:59:35 +0200
commitf56a6df49c9129f8d0b5451e9a8aca0315aba488 (patch)
tree36f7d24635a28dda8a4ed0edc88833ae419732ea /protocols/luci-proto-3g
parent61ca9e19c6157c19d04018ee8dee16c09e30daed (diff)
parent7d734691ce2a2683499b69777bf184e0ddfd2c5c (diff)
Merge pull request #2791 from TDT-AG/pr/20190626-luci-proto-3g
luci-proto-3g: rename maxwait to delay option
Diffstat (limited to 'protocols/luci-proto-3g')
-rw-r--r--protocols/luci-proto-3g/luasrc/model/cbi/admin_network/proto_3g.lua8
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",