summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-travelmate/luasrc
diff options
context:
space:
mode:
authorDirk Brenken <dev@brenken.org>2018-02-27 14:04:58 +0100
committerDirk Brenken <dev@brenken.org>2018-02-27 14:04:58 +0100
commit391a7bfc01ffea8557dc522224e8c59b2d5e4472 (patch)
treedab534235c215a4f2d80601db34c5b5b0950f2f9 /applications/luci-app-travelmate/luasrc
parent09ea6dbd33cc46df3ca17c640ffcb3d148a4639a (diff)
luci-app-travelmate: sync with release 1.1.2
* refine timings & valid input ranges Signed-off-by: Dirk Brenken <dev@brenken.org>
Diffstat (limited to 'applications/luci-app-travelmate/luasrc')
-rw-r--r--applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua15
1 files changed, 7 insertions, 8 deletions
diff --git a/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua b/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua
index 4fec920f76..e687866159 100644
--- a/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua
+++ b/applications/luci-app-travelmate/luasrc/model/cbi/travelmate/overview_tab.lua
@@ -181,28 +181,27 @@ e2.datatype = "and(uciname,rangelength(6,6))"
e2.rmempty = true
e3 = e:option(Value, "trm_maxretry", translate("Connection Limit"),
- translate("Retry limit to connect to an uplink. ")
- .. translate("To disable this feature set it to '0' which means unlimited retries."))
+ translate("Retry limit to connect to an uplink."))
e3.default = 3
-e3.datatype = "range(0,30)"
+e3.datatype = "range(1,10)"
e3.rmempty = false
e4 = e:option(Value, "trm_minquality", translate("Signal Quality Threshold"),
translate("Minimum signal quality threshold as percent for conditional uplink (dis-) connections."))
-e4.default = 30
-e4.datatype = "range(0,100)"
+e4.default = 35
+e4.datatype = "range(20,80)"
e4.rmempty = false
e5 = e:option(Value, "trm_maxwait", translate("Interface Timeout"),
- translate("How long should travelmate wait for a successful wlan interface reload."))
+ translate("How long should travelmate wait for a successful wlan uplink connection."))
e5.default = 30
-e5.datatype = "range(5,60)"
+e5.datatype = "range(20,40)"
e5.rmempty = false
e6 = e:option(Value, "trm_timeout", translate("Overall Timeout"),
translate("Timeout in seconds between retries in 'automatic' mode."))
e6.default = 60
-e6.datatype = "range(60,300)"
+e6.datatype = "range(30,300)"
e6.rmempty = false
return m