This commit is contained in:
岳松
2016-10-24 16:51:33 +08:00
parent 3f7e9fbd8b
commit 8ed7ca56cc

View File

@@ -23,11 +23,11 @@ else
fi
while :; do echo
echo 'Please type MariaDB root password:'
read -p "Please type MariaDB root password:(Default lemp.sh press Enter) " MariaDB_ROOT_PWD
[ -z "$MariaDB_ROOT_PWD" ] && MariaDB_ROOT_PWD="lemp.sh"
[ -n "`echo $MariaDB_ROOT_PWD | grep '[+|&]'`" ] && { echo "${CWARNING}input error,not contain a plus sign (+) and & ${CEND}"; continue; }
done
break;
done
# Close SELINUX
setenforce 0