diff options
author | Hannu Nyman <hannu.nyman@iki.fi> | 2017-01-12 22:36:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-12 22:36:10 +0200 |
commit | de4bda67e0385876077f67971d441c1d093148ea (patch) | |
tree | a92f00a6c78ec4e90367740abfa45897b091aa7f /applications/luci-app-travelmate/luasrc | |
parent | 6a7eaeb4860bcdfac0ecf4349afc396212c1d467 (diff) | |
parent | 34810889a6a0faaf19c3f826853a7f3d8178dc3a (diff) |
Merge pull request #939 from dibdot/master
luci-app-travelmate: update gui elements
Diffstat (limited to 'applications/luci-app-travelmate/luasrc')
-rw-r--r-- | applications/luci-app-travelmate/luasrc/model/cbi/travelmate.lua | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/applications/luci-app-travelmate/luasrc/model/cbi/travelmate.lua b/applications/luci-app-travelmate/luasrc/model/cbi/travelmate.lua index 9050ae9686..fa44d4b523 100644 --- a/applications/luci-app-travelmate/luasrc/model/cbi/travelmate.lua +++ b/applications/luci-app-travelmate/luasrc/model/cbi/travelmate.lua @@ -18,17 +18,17 @@ o = s:option(Flag, "trm_enabled", translate("Enable Travelmate")) o.rmempty = false o.default = 0 -o = s:option(Value, "trm_loop", translate("Loop timeout in seconds for wlan monitoring"), - translate("Default 30, range 5-60")) +o = s:option(Value, "trm_maxwait", translate("Max. timeout in seconds for wlan interface reload"), + translate("Default 20, range 10-60")) o.rmempty = false -o.default = 30 -o.datatype = "range(5,60)" +o.default = 20 +o.datatype = "range(10,60)" o = s:option(Value, "trm_maxretry", translate("Max. number of connection retries to an uplink"), - translate("Default 3, range 0-10. Set to 0 to allow unlimited retries")) + translate("Default 3, range 1-10")) o.rmempty = false o.default = 3 -o.datatype = "range(0,10)" +o.datatype = "range(1,10)" -- Extra options @@ -38,8 +38,8 @@ a = e:option(Flag, "trm_debug", translate("Debug logging")) a.rmempty = true a.default = a.disabled -a = e:option(Value, "trm_device", translate("Use only one radio, e.g. 'radio0'"), - translate("Default: empty = use all radios.")) +a = e:option(Value, "trm_iface", translate("Restrict reload trigger to certain interface(s)"), + translate("Space separated list of wwan interfaces that trigger reload action. To disable reload trigger set it to 'false'. Default: empty")) a.rmempty = true a.default = "" a.datatype = "uciname" |