From 27bf7c2876ddd2a3c5fe5ac6e5c4cf03db24d7e3 Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Fri, 9 Nov 2018 11:03:36 +0100 Subject: 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 --- modules/luci-mod-system/luasrc/model/cbi/admin_system/leds.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/luci-mod-system/luasrc') 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 2ea044e16..8ae38c0db 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") -- cgit v1.2.3