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