From d5bce1a7d247db608e7d1a1b89028b591218a67f Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 9 Jan 2022 03:08:34 +0100 Subject: ... --- files/files/etc/hotplug.d/ntp/99-dayled | 2 ++ 1 file changed, 2 insertions(+) diff --git a/files/files/etc/hotplug.d/ntp/99-dayled b/files/files/etc/hotplug.d/ntp/99-dayled index 6dcaadc..adbe479 100644 --- a/files/files/etc/hotplug.d/ntp/99-dayled +++ b/files/files/etc/hotplug.d/ntp/99-dayled @@ -2,6 +2,8 @@ /etc/init.d/dayled stop +[ "$(cat /sys/class/leds/blue\:dome/brightness)" -eq 0 ] || sleep 5 + /usr/local/sbin/dayled.sh poll /etc/init.d/dayled start \ No newline at end of file -- cgit v1.2.3