base-files: fix uci led oneshot/timer trigger
authorRobinson Wu <wurobinson@qq.com>
Tue, 4 Jun 2019 03:13:39 +0000 (11:13 +0800)
committerChristian Lamparter <chunkeey@gmail.com>
Thu, 20 Jun 2019 17:59:31 +0000 (19:59 +0200)
commit869ff80d312d5ef64f84eb22a0906f80e614f706
tree0d35a8cbff4110a80910df955855c94570c3796d
parent971f31bedcad0a954a4a4e79140346cc896d352e
base-files: fix uci led oneshot/timer trigger

This patch adds a missing type property. This fixes
the creation of oneshot and timer led triggers like:

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

from /etc/init.d/01_leds.

Fixes: b06a286a4861 ("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>
package/base-files/files/lib/functions/uci-defaults.sh