git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
40de466
)
luci-mod-system: add user defined interface to netdev trigger
author
Florian Eckert
<redacted>
Fri, 9 Nov 2018 10:03:36 +0000
(11:03 +0100)
committer
Florian Eckert
<redacted>
Mon, 12 Nov 2018 14:34:54 +0000
(15:34 +0100)
Give the user the possibility to define and interface for the netdev
trigger which is not available at the moment. This is usefull if a
interface is not presented on configuration time.
Signed-off-by: Florian Eckert <redacted>
modules/luci-mod-system/luasrc/model/cbi/admin_system/leds.lua
patch
|
blob
|
history
diff --git
a/modules/luci-mod-system/luasrc/model/cbi/admin_system/leds.lua
b/modules/luci-mod-system/luasrc/model/cbi/admin_system/leds.lua
index 2ea044e16a9f27759bbffccd67891c3b2efc8d60..8ae38c0db446e5398195cf3ce368d17e7b11070f 100644
(file)
--- a/
modules/luci-mod-system/luasrc/model/cbi/admin_system/leds.lua
+++ b/
modules/luci-mod-system/luasrc/model/cbi/admin_system/leds.lua
@@
-55,7
+55,7
@@
delayoff = s:option(Value, "delayoff", translate ("Off-State Delay"))
delayoff:depends("trigger", "timer")
-dev = s:option(
List
Value, "_net_dev", translate("Device"))
+dev = s:option(Value, "_net_dev", translate("Device"))
dev.rmempty = true
dev:value("")
dev:depends("trigger", "netdev")
git clone https://git.99rst.org/PROJECT