Merge pull request #2791 from TDT-AG/pr/20190626-luci-proto-3g
[project/luci.git] / protocols / luci-proto-3g / luasrc / model / cbi / admin_network / proto_3g.lua
index e05e3a47fd2a6000de6efa318b565cd8db3b1205..85c5cd60421d378376896d975a46c56defddf9ec 100644 (file)
@@ -4,7 +4,7 @@
 local map, section, net = ...
 
 local device, apn, service, pincode, username, password, dialnumber
 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
 
 
       keepalive_failure, keepalive_interval, demand
 
 
@@ -58,12 +58,12 @@ if luci.model.network:has_ipv6() then
 end
 
 
 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"))
 
        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",
 
 
 defaultroute = section:taboption("advanced", Flag, "defaultroute",