fix
This commit is contained in:
4
lemp.sh
4
lemp.sh
@@ -23,11 +23,11 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
while :; do echo
|
while :; do echo
|
||||||
echo 'Please type MariaDB root password:'
|
|
||||||
read -p "Please type MariaDB root password:(Default lemp.sh press Enter) " MariaDB_ROOT_PWD
|
read -p "Please type MariaDB root password:(Default lemp.sh press Enter) " MariaDB_ROOT_PWD
|
||||||
[ -z "$MariaDB_ROOT_PWD" ] && MariaDB_ROOT_PWD="lemp.sh"
|
[ -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; }
|
[ -n "`echo $MariaDB_ROOT_PWD | grep '[+|&]'`" ] && { echo "${CWARNING}input error,not contain a plus sign (+) and & ${CEND}"; continue; }
|
||||||
done
|
break;
|
||||||
|
done
|
||||||
|
|
||||||
# Close SELINUX
|
# Close SELINUX
|
||||||
setenforce 0
|
setenforce 0
|
||||||
|
|||||||
Reference in New Issue
Block a user