#!/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 < /root/testfile export STORAGE_BASE_DIR=\'STORAGE_BASE_DIR\' export WEB_SERVER=\'WEB_SERVER\' EOF