20 lines
326 B
Bash
Executable File
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
|