gluon-setup-mode: add fallback led-boot as status

for devices in targets that do no implement `get_status_led` in /etc/diag.sh
and do not have an led-running in their dts
This commit is contained in:
aiyion.prime 2022-04-26 13:27:58 +02:00 committed by Linus Lüssing
parent 11905af169
commit 26b5764c74

View File

@ -12,6 +12,9 @@ start() {
if [ -z $status_led ]; then if [ -z $status_led ]; then
status_led="$running" status_led="$running"
fi fi
if [ -z $status_led ]; then
status_led="$boot"
fi
status_led_set_timer 1000 300 status_led_set_timer 1000 300
} }