This commit is contained in:
2017-08-26 13:25:55 +08:00
parent 33f8c64bba
commit d5958942cd

View File

@@ -37,6 +37,7 @@ while :; do echo
if [[ ! $mariadb_yn =~ ^[y,n]$ ]]; then
echo "${CWARNING}input error! Please only input 'y' or 'n'${CEND}"
else
if [ "$mariadb_yn" == 'y' ]; then
while :; do echo
read -p "Please type MariaDB root password:(Default lemp.sh press Enter) " MariaDB_ROOT_PWD
[ -z "$MariaDB_ROOT_PWD" ] && MariaDB_ROOT_PWD="lemp.sh"
@@ -44,6 +45,7 @@ while :; do echo
break;
done
fi
fi
done
if [ "$init_yn" == 'y' ]; then