openwrt/package/base-files/files/lib/functions
Robinson Wu 9656f49ea0 base-files: fix uci led oneshot/timer trigger
This patch adds a missing type property which prevented
the creation of oneshot and timer led triggers when they
are specified in the /etc/board.d/01_leds files.

i.e.:

ucidef_set_led_timer "system" "system" "zhuotk:green:system" "1000" "1000"

Fixes: b06a286a48 ("base-files: cleanup led functions in uci-defaults.sh")
Signed-off-by: Robinson Wu <wurobinson@qq.com>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
[also fix oneshot as well]
2019-06-20 17:41:42 +02:00
..
leds.sh base-files: get_dt_led: don't warn about missing led 2018-04-04 09:12:39 +02:00
network.sh base-files: add network_get_metric() to /lib/functions/network.sh 2018-12-18 11:28:14 +01:00
preinit.sh base-files: fix ramoverlay function with kernels 3.18+ 2015-09-21 17:41:07 +00:00
service.sh base-files: remove function service_kill 2014-06-02 12:43:10 +00:00
system.sh base-files: add function to get mac as text from flash 2018-12-18 11:01:56 +01:00
uci-defaults.sh base-files: fix uci led oneshot/timer trigger 2019-06-20 17:41:42 +02:00