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:
parent
96f6a79eb2
commit
673a8bd76f
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue