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..."