1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Update luci-base and luci-mod-admin-full to latest version, disable nginx default script

This commit is contained in:
Ycarus 2018-03-15 15:27:42 +01:00
parent 7ba8d8d610
commit 139393bc8f
65 changed files with 7053 additions and 5523 deletions

View file

@ -1,27 +0,0 @@
-- Copyright 2008 Steven Barth <steven@midlink.org>
-- Licensed to the public under the Apache License 2.0.
m = Map("system", translate("Buttons"),
translate("This page allows the configuration of custom button actions"))
s = m:section(TypedSection, "button", "")
s.anonymous = true
s.addremove = true
s:option(Value, "button", translate("Name"))
act = s:option(ListValue, "action",
translate("Action"),
translate("Specifies the button state to handle"))
act:value("released")
s:option(Value, "handler",
translate("Handler"),
translate("Path to executable which handles the button event"))
min = s:option(Value, "min", translate("Minimum hold time"))
min.rmempty = true
max = s:option(Value, "max", translate("Maximum hold time"))
max.rmempty = true

View file

@ -62,7 +62,7 @@ o = s:option(Flag, "auto_mount", translate("Automount Filesystem"), translate("A
o.default = o.enabled
o.rmempty = false
o = s:option(Flag, "check_fs", translate("Check fileystems before mount"), translate("Automatically check filesystem for errors before mounting"))
o = s:option(Flag, "check_fs", translate("Check filesystems before mount"), translate("Automatically check filesystem for errors before mounting"))
o.default = o.disabled
o.rmempty = false

View file

@ -152,4 +152,7 @@ for p in nixio.fs.glob("/sys/bus/usb/devices/*/usb[0-9]*-port[0-9]*") do
end
end
port_mask = s:option(Value, "port_mask", translate ("Switch Port Mask"))
port_mask:depends("trigger", "switch0")
return m