From f0796d7f3247f250f2d442bee92560918e9c837c Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Mon, 16 Mar 2020 20:15:40 -0400 Subject: [PATCH] Update 82-script-setup.bash --- root/etc/cont-init.d/82-script-setup.bash | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/root/etc/cont-init.d/82-script-setup.bash b/root/etc/cont-init.d/82-script-setup.bash index 0467bba..b7c3b68 100644 --- a/root/etc/cont-init.d/82-script-setup.bash +++ b/root/etc/cont-init.d/82-script-setup.bash @@ -1,10 +1,5 @@ #!/usr/bin/with-contenv bash -# Create scripts directory -if [ ! -d "/config/scripts" ]; then - mkdir -p "/config/scripts" - chmod 0777 "/config/scripts" -fi # link config file for use if [ ! -f "/config/scripts/audio-pp.bash" ]; then @@ -18,18 +13,6 @@ if [ ! -f "/config/scripts/video-pp.bash" ]; then chmod 0777 "/config/scripts/video-pp.bash" fi -# Create downloads incomplete directory -if [ ! -d "/stroage/downloads/sabnzbd/incomplete" ]; then - mkdir -p "/stroage/downloads/sabnzbd/incomplete" - chmod 0777 "/stroage/downloads/sabnzbd/incomplete" -fi - -# Create downloads complete directory -if [ ! -d "/stroage//downloads/sabnzbd/complete" ]; then - mkdir -p "/stroage//downloads/sabnzbd/complete" - chmod 0777 "/stroage//downloads/sabnzbd/complete" -fi - if [ ! -f "/config/scripts/sab-config-updated" ]; then # start cron service cron start