From 054ac9bb8dc2141d74e1c5dc9f0220e822df8b15 Mon Sep 17 00:00:00 2001 From: dapowers87 Date: Mon, 5 Oct 2020 23:42:03 +0000 Subject: [PATCH] Move where the extension file would be expected to live Remove blank extension file --- Docker/init.extension.sh | 1 - Docker/init.sh | 6 ++++-- 2 files changed, 4 insertions(+), 3 deletions(-) delete mode 100644 Docker/init.extension.sh 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 ..."