Merge branch 'dapowers87-docker-init-extension' into 'dev'

Add in init.extension.sh

See merge request Shinobi-Systems/Shinobi!245
fix-non-showing-inputs
Moe 2020-10-15 16:54:46 +00:00
commit ed1b8817b7
1 changed files with 6 additions and 0 deletions

View File

@ -100,6 +100,12 @@ if [ ! -e "./super.json" ]; then
sudo cp super.sample.json super.json
sudo cp super.sample.json /config/super.json
fi
if [ -e "/config/init.extension.sh" ]; then
echo "Running extension init file ..."
( sh /config/init.extension.sh )
fi
# Execute Command
echo "Starting Shinobi ..."
exec "$@"