From ffd3cbb94463a809eeec7c06454fb452c824f7e6 Mon Sep 17 00:00:00 2001 From: Adam Warner Date: Sun, 26 Oct 2025 13:04:23 +0000 Subject: [PATCH] Revert FTL wait-for changes Signed-off-by: Adam Warner --- src/start.sh | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/start.sh b/src/start.sh index fe7724a..7036cee 100644 --- a/src/start.sh +++ b/src/start.sh @@ -75,13 +75,10 @@ start() { sleep 0.5 done - # Wait until the FTL log contains the "FTL started" message before continuing, timeout after 10 seconds - # exit if we do not find it - pihole-FTL wait-for '########## FTL started' /var/log/pihole/FTL.log 10 0 > /dev/null - if [ $? -ne 0 ]; then - echo " [✗] FTL did not start - stopping container" - exit 1 - fi + # Wait until the FTL log contains the "FTL started" message before continuing + while ! grep -q '########## FTL started' /var/log/pihole/FTL.log; do + sleep 0.5 + done pihole updatechecker local versionsOutput