istoreos: blink led on shutdown

This commit is contained in:
jjm2473 2022-06-10 11:58:03 +08:00
parent 9563446330
commit 2f18ea5c44

View File

@ -6,4 +6,11 @@ STOP=00
shutdown() {
logger -s -t "DEBUG" "System Shutting Down"
logger -t "DEBUG" "System Shutting Down"
# blink led
. /etc/diag.sh
[ -n "$running" ] && {
status_led="$running"
status_led_blink_preinit_regular
}
}