From c3c12ac6780a3866eb4dcaee298df70297f6db3b Mon Sep 17 00:00:00 2001 From: "Bastian (BaM)" Date: Sat, 13 Sep 2025 17:06:39 +0200 Subject: [PATCH] Update --- auto-boot-ollama-pc.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/auto-boot-ollama-pc.sh b/auto-boot-ollama-pc.sh index 611031d..40b2766 100755 --- a/auto-boot-ollama-pc.sh +++ b/auto-boot-ollama-pc.sh @@ -14,6 +14,8 @@ WOL_CMD="wakeonlan" # or "etherwake -i eth0 $WOL_M NC_CMD="nc" # netcat DOCKER="docker" +sleep 1 + # Ensure only one instance of this script is running if [ "$(pgrep -f $SCRIPTNAME)" != $$ ]; then echo "Killing running instance of $SCRIPTNAME..."