remove init scripts from cronicle-prepare.sh
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
64571c49f0
commit
f2a90445c0
@ -3,29 +3,6 @@
|
||||
|
||||
echo "Preparing Cronicle"
|
||||
|
||||
#Importing and running additional scripts placed in /config/init
|
||||
if [ -d /config/init ]
|
||||
then
|
||||
if [ "$(ls -A /config/init)" ]
|
||||
then
|
||||
|
||||
echo "Running additional startup scripts."
|
||||
|
||||
bash /config/init/*
|
||||
|
||||
else
|
||||
|
||||
echo "/config/init is empty - no additional startup scripts detected."
|
||||
|
||||
fi
|
||||
else
|
||||
|
||||
echo "Directory /config/init not found. Creating."
|
||||
|
||||
mkdir /config/init
|
||||
|
||||
fi
|
||||
|
||||
if [ ! -d /config/cronicle ]
|
||||
then
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user