base-files: support oneshot leds properly.
oneshot trigger configurations for LEDs are created, but the on/off
timing configurations are ignored. generate_config is correctly creating
oneshot configs, but the later led script doesn't recognise the trigger
details.
Fixes: c0c3f2d4c9
leds: support oneshot as well as timer triggers
Signed-off-by: Karl Palsson <karlp@etactica.com>
This commit is contained in:
parent
b5f7221afa
commit
ad8d197b82
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ load_led() {
|
||||||
}
|
}
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"timer")
|
"timer"|"oneshot")
|
||||||
[ -n "$delayon" ] && \
|
[ -n "$delayon" ] && \
|
||||||
echo $delayon > /sys/class/leds/${sysfs}/delay_on
|
echo $delayon > /sys/class/leds/${sysfs}/delay_on
|
||||||
[ -n "$delayoff" ] && \
|
[ -n "$delayoff" ] && \
|
||||||
|
|
Loading…
Reference in a new issue