From 8234c7cf797ee1f878b48aa484e78cdc43f056d5 Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Tue, 23 Apr 2024 14:07:42 +0000 Subject: [PATCH] 1.8 - Only run one time #244 --- sabnzbd/setup.bash | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sabnzbd/setup.bash b/sabnzbd/setup.bash index d2ae402..20ac21d 100644 --- a/sabnzbd/setup.bash +++ b/sabnzbd/setup.bash @@ -1,5 +1,5 @@ #!/usr/bin/with-contenv bash -scriptVersion="1.7" +scriptVersion="1.8" ######## Package dependencies installation InstallRequirements () { @@ -108,4 +108,9 @@ if [ ! -f /config/extended.conf ]; then fi chmod 777 -R /config/scripts +if [ -f /custom-services.d/scripts_init.bash ]; then + # user misconfiguration detected, sleeping... + sleep infinity +fi + exit