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:
parent
11905af169
commit
26b5764c74
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user