summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2018-11-09 11:03:36 +0100
committerFlorian Eckert <fe@dev.tdt.de>2018-11-12 15:34:54 +0100
commit27bf7c2876ddd2a3c5fe5ac6e5c4cf03db24d7e3 (patch)
tree4d0b87535ef1a31fabaeecd316f26ac2a270b60a
parent40de466475a617f42d1f5cfa03d0342676e84c9b (diff)
luci-mod-system: add user defined interface to netdev trigger
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 <fe@dev.tdt.de>
-rw-r--r--modules/luci-mod-system/luasrc/model/cbi/admin_system/leds.lua2
1 files changed, 1 insertions, 1 deletions
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 2ea044e16a..8ae38c0db4 100644
--- 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(ListValue, "_net_dev", translate("Device"))
+dev = s:option(Value, "_net_dev", translate("Device"))
dev.rmempty = true
dev:value("")
dev:depends("trigger", "netdev")