summaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-11-12 15:38:27 +0100
committerGitHub <noreply@github.com>2018-11-12 15:38:27 +0100
commit8e6af11715eddc0d186ee4462f4f8fb5ee102016 (patch)
tree297b8db7e891286b21ccf14662ae3b9e0a0372b2 /modules
parentac47c730c79259f2e3df1d0d8cd3f797db241e2c (diff)
parent27bf7c2876ddd2a3c5fe5ac6e5c4cf03db24d7e3 (diff)
Merge pull request #2274 from TDT-AG/pr/20181112-luic-mod-system
luci-mod-system: add user defined interface to netdev trigger
Diffstat (limited to 'modules')
-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")