fix: update autopause-fcns.sh path (#3666)

This commit is contained in:
iofq
2025-09-19 22:53:43 -05:00
committed by GitHub
parent bdac28a323
commit 0517a0a2b1
2 changed files with 3 additions and 3 deletions

View File

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

View File

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