From 9c6b5864bdfda6f7fe44e0a7b20014b6c06866e4 Mon Sep 17 00:00:00 2001 From: Kroese Date: Tue, 28 Jul 2026 12:54:30 +0200 Subject: [PATCH 1/3] Update power.sh --- src/power.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/power.sh b/src/power.sh index f7a86505b..6539a8aca 100644 --- a/src/power.sh +++ b/src/power.sh @@ -64,7 +64,8 @@ waitForBoot() { fi case "$status" in - 0) + 0) echo + if [[ "${DISPLAY,,}" == "web" ]] && ! disabled "${WEB:-Y}"; then info "$(app) started successfully, $screen" else @@ -72,7 +73,9 @@ waitForBoot() { fi return 0 ;; - 2) + + 2) echo + if [[ "${DISPLAY,,}" == "web" ]] && ! disabled "${WEB:-Y}"; then warn "$(app) could not boot, $screen" else From 33e04926c4fea60fe7cf39ce1da62a42d6a158d3 Mon Sep 17 00:00:00 2001 From: Kroese Date: Tue, 28 Jul 2026 13:08:07 +0200 Subject: [PATCH 2/3] Update power.sh --- src/power.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/power.sh b/src/power.sh index 6539a8aca..80621ba52 100644 --- a/src/power.sh +++ b/src/power.sh @@ -72,7 +72,7 @@ waitForBoot() { info "$(app) started successfully." fi - return 0 ;; + echo && return 0 ;; 2) echo @@ -82,7 +82,7 @@ waitForBoot() { warn "$(app) could not boot." fi - return 0 ;; + echo && return 0 ;; esac (( SECONDS >= deadline )) && break From 71b3d0b322a5a3c58f9770807cae88d4ab514e2e Mon Sep 17 00:00:00 2001 From: Kroese Date: Tue, 28 Jul 2026 15:02:44 +0200 Subject: [PATCH 3/3] Update power.sh --- src/power.sh | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/src/power.sh b/src/power.sh index 80621ba52..2fbcab477 100644 --- a/src/power.sh +++ b/src/power.sh @@ -74,20 +74,15 @@ waitForBoot() { echo && return 0 ;; - 2) echo + 2) error "$(app) could not boot, aborting..." + terminateQemu + return 0 ;; - if [[ "${DISPLAY,,}" == "web" ]] && ! disabled "${WEB:-Y}"; then - warn "$(app) could not boot, $screen" - else - warn "$(app) could not boot." - fi - - echo && return 0 ;; esac (( SECONDS >= deadline )) && break - sleep 0.1 + sleep 0.25 done ! isAlive "$pid" && return 0