diff --git a/root/etc/cont-init.d/02-script-setup.bash b/root/etc/cont-init.d/02-script-setup.bash index 70f985a..4666a4c 100644 --- a/root/etc/cont-init.d/02-script-setup.bash +++ b/root/etc/cont-init.d/02-script-setup.bash @@ -114,7 +114,9 @@ if [ ! -f "/config/scripts/sab-config-updated" ]; then fi fi - # start cron - service cron stop + if [ -f "/config/scripts/sab-config-updated" ]; then + # stop cron + service cron stop + fi fi exit 0