LuCI updated
This commit is contained in:
parent
585c933667
commit
615740034e
2 changed files with 17 additions and 9 deletions
|
@ -1,8 +1,15 @@
|
|||
|
||||
local map = Map("cronosagent", "CronosAgent")
|
||||
local section = map:section(TypedSection, "configuration")
|
||||
local map = Map("cronosagent", "CronosAgent")
|
||||
local section = map:section(TypedSection, "global", "", "Configuration")
|
||||
|
||||
section:option(Value, "number", "Repeater ID", "DMR ID assigned to your repeater")
|
||||
section:option(Value, "repeaterAddress", "Repeater Address", "Address of your KAIROS repeater")
|
||||
section:option(Value, "serverAddress", "Server address", "Address of BrandMeister DMR Server")
|
||||
section:option(Value, "serverPassword", "Password", "Password to login")
|
||||
local number = section:option(Value, "number", "Repeater ID", "DMR ID assigned to your repeater" )
|
||||
local repeater = section:option(Value, "repeaterAddress", "Repeater Address", "Address of your KAIROS repeater" )
|
||||
local server = section:option(Value, "serverAddress", "Server address", "Address of BrandMeister DMR Server")
|
||||
local password = section:option(Value, "serverPassword", "Password", "Password to login" )
|
||||
|
||||
number.datatype = "range(1,16777215)"
|
||||
repeater.datatype = "ip4addr"
|
||||
|
||||
server.datatype = "host"
|
||||
password.datatype = "string"
|
||||
password.password = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue