mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Add option to disable omr-tracker
This commit is contained in:
parent
c4ec834dc9
commit
105653108a
3 changed files with 16 additions and 1 deletions
|
@ -8,6 +8,10 @@ m = Map("omr-tracker", translate("OMR-Tracker"), translate("OMR-Tracker detect w
|
|||
s = m:section(TypedSection, "defaults", translate("Defaults Settings"))
|
||||
s.anonymous = true
|
||||
|
||||
o = s:option(Flag, "enabled", translate("Enable"), translate("When tracker is disabled, connection failover is also disabled"))
|
||||
o.default = true
|
||||
o.rmempty = false
|
||||
|
||||
o = s:option(Value, "timeout", translate("Timeout (s)"))
|
||||
o.placeholder = "1"
|
||||
o.default = "1"
|
||||
|
@ -48,6 +52,10 @@ for _, iface in ipairs(ifaces) do
|
|||
end
|
||||
end
|
||||
|
||||
o = s:option(Flag, "enabled", translate("Enable"))
|
||||
o.default = true
|
||||
o.rmempty = false
|
||||
|
||||
o = s:option(Value, "timeout", translate("Timeout (s)"))
|
||||
o.placeholder = "1"
|
||||
o.default = "1"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue