luci-0.9: merge r5590, r5591 and r5592
This commit is contained in:
parent
dff999ea08
commit
f0e63629cb
4 changed files with 6 additions and 1 deletions
|
@ -16,6 +16,7 @@ m = Map("firewall", translate("fw_fw"), translate("fw_fw1"))
|
|||
|
||||
s = m:section(TypedSection, "defaults")
|
||||
s.anonymous = true
|
||||
s.addremove = false
|
||||
|
||||
s:option(Flag, "syn_flood")
|
||||
|
||||
|
|
|
@ -4,6 +4,8 @@ require("luci.model.uci")
|
|||
m = Map("luci_splash", "Client-Splash", [[Client-Splash ist das Freifunk Hotspot-Authentifizierungs-System.]])
|
||||
|
||||
s = m:section(NamedSection, "general", "core", "Allgemein")
|
||||
s.addremove = false
|
||||
|
||||
s:option(Value, "leasetime", "Freigabezeit", "h")
|
||||
|
||||
s:option(Value, "limit_up", "Upload-Limitierung", "Kilobyte/s - limitiert die Upload-Geschwindigkeit von Clients")
|
||||
|
|
|
@ -25,6 +25,7 @@ local netstat = sys.net.deviceinfo()
|
|||
|
||||
s = m:section(TypedSection, "interface", "")
|
||||
s.addremove = true
|
||||
s.anonymous = false
|
||||
s.extedit = luci.dispatcher.build_url("admin", "network", "network") .. "/%s"
|
||||
s.template = "cbi/tblsection"
|
||||
s.override_scheme = true
|
||||
|
|
|
@ -15,6 +15,7 @@ m = Map("dhcp", "Dnsmasq")
|
|||
|
||||
s = m:section(TypedSection, "dnsmasq", translate("settings"))
|
||||
s.anonymous = true
|
||||
s.addremove = false
|
||||
|
||||
s:option(Flag, "domainneeded")
|
||||
s:option(Flag, "authoritative")
|
||||
|
@ -42,4 +43,4 @@ s:option(Flag, "enable_tftp").optional = true
|
|||
s:option(Value, "tftp_root").optional = true
|
||||
s:option(Value, "dhcp_boot").optional = true
|
||||
|
||||
return m
|
||||
return m
|
||||
|
|
Loading…
Reference in a new issue