Update 33-script-setup.bash

pull/1/head
RandomNinjaAtk 5 years ago committed by GitHub
parent 2c145b4fa6
commit 88639e549d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -19,8 +19,6 @@ if [ ! -f "/config/sabnzbd.ini" ]; then
fi fi
if cat "/config/sabnzbd.ini" | grep "\[categories\]" | read; then if cat "/config/sabnzbd.ini" | grep "\[categories\]" | read; then
sleep 0.1
else
# Add scripts path # Add scripts path
if cat "/config/sabnzbd.ini" | grep "script_dir = \"\"" | read; then if cat "/config/sabnzbd.ini" | grep "script_dir = \"\"" | read; then
@ -91,9 +89,6 @@ if cat "/config/sabnzbd.ini" | grep "\[categories\]" | read; then
echo "config updated" && \ echo "config updated" && \
# stop cron # stop cron
service cron stop service cron stop
else
# start cron
service cron start
fi fi
exit 0 exit 0

Loading…
Cancel
Save