Files
ireddocker/test.sh
T
2020-07-31 12:45:56 +00:00

20 lines
326 B
Bash
Executable File

#!/bin/bash
#if [[ ! -f ".configured" ]]; then
# touch .configured
#else
# while true; do sleep 1; done
#fi
: ${MYSQLEXIST:=NO}
if [ X"${MYSQLEXIST}" == X'YES' ]; then
echo test
else
echo notest
fi
cat <<EOF > /root/testfile
export STORAGE_BASE_DIR=\'STORAGE_BASE_DIR\'
export WEB_SERVER=\'WEB_SERVER\'
EOF