luci-mod-admin-full: led config: add support for Switch Port Mask

Signed-off-by: Martin Schiller <ms@dev.tdt.de>
This commit is contained in:
Martin Schiller 2017-12-21 15:04:00 +01:00 committed by Jo-Philipp Wich
parent 96f6a79eb2
commit 673a8bd76f

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