From 26b5764c748c5d44cb7e6d368a55ef8a58b8a751 Mon Sep 17 00:00:00 2001 From: "aiyion.prime" Date: Tue, 26 Apr 2022 13:27:58 +0200 Subject: [PATCH] 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 --- .../gluon-setup-mode/files/lib/gluon/setup-mode/rc.d/S96led | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/gluon-setup-mode/files/lib/gluon/setup-mode/rc.d/S96led b/package/gluon-setup-mode/files/lib/gluon/setup-mode/rc.d/S96led index 7242451c..c3ac6681 100755 --- a/package/gluon-setup-mode/files/lib/gluon/setup-mode/rc.d/S96led +++ b/package/gluon-setup-mode/files/lib/gluon/setup-mode/rc.d/S96led @@ -12,6 +12,9 @@ start() { if [ -z $status_led ]; then status_led="$running" fi + if [ -z $status_led ]; then + status_led="$boot" + fi status_led_set_timer 1000 300 }