From 0517a0a2b1e76a794e9d1350b7d3b19bd4a3f0f8 Mon Sep 17 00:00:00 2001 From: iofq Date: Fri, 19 Sep 2025 22:53:43 -0500 Subject: [PATCH] fix: update autopause-fcns.sh path (#3666) --- files/shims/rcon-cmds-daemon.sh | 2 +- scripts/auto/autostop-daemon.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/files/shims/rcon-cmds-daemon.sh b/files/shims/rcon-cmds-daemon.sh index 4a9851cc..90b5ea18 100644 --- a/files/shims/rcon-cmds-daemon.sh +++ b/files/shims/rcon-cmds-daemon.sh @@ -9,7 +9,7 @@ # needed for the clients connected function residing in autopause # shellcheck source=../auto/autopause-fcns.sh -. /auto/autopause-fcns.sh +. /image/scripts/auto/autopause-fcns.sh # shellcheck source=start-utils . /image/scripts/start-utils diff --git a/scripts/auto/autostop-daemon.sh b/scripts/auto/autostop-daemon.sh index a4b3cf86..ff359db6 100644 --- a/scripts/auto/autostop-daemon.sh +++ b/scripts/auto/autostop-daemon.sh @@ -49,7 +49,7 @@ do else if [[ $(current_uptime) -ge $TIME_THRESH ]] ; then logAutostop "No client connected since startup - stopping server" - /auto/stop.sh + "$(dirname "$0")"/stop.sh exit 0 fi fi @@ -74,7 +74,7 @@ do else if [[ $(current_uptime) -ge $TIME_THRESH ]] ; then logAutostop "No client reconnected - stopping" - /auto/stop.sh + "$(dirname "$0")"/stop.sh exit 0 fi fi