diff --git a/Docker/init.extension.sh b/Docker/init.extension.sh deleted file mode 100644 index 8b137891..00000000 --- a/Docker/init.extension.sh +++ /dev/null @@ -1 +0,0 @@ - diff --git a/Docker/init.sh b/Docker/init.sh index ebfc506b..90ebd289 100644 --- a/Docker/init.sh +++ b/Docker/init.sh @@ -101,8 +101,10 @@ if [ ! -e "./super.json" ]; then sudo cp super.sample.json /config/super.json fi -echo "Running extension init file ..." -( sh /home/Shinobi/Docker/init.extension.sh ) +if [ -e "/config/init.extension.sh" ]; then + echo "Running extension init file ..." + ( sh /config/init.extension.sh ) +fi # Execute Command echo "Starting Shinobi ..."