diff --git a/AppendModule.sh b/AppendModule.sh index ca1ac59..bac029a 100644 --- a/AppendModule.sh +++ b/AppendModule.sh @@ -59,7 +59,7 @@ fi function PasswordQuest { passdia=$(whiptail --nocancel --passwordbox "Please enter your password (Must be the same as the mysql/root password)" 11 91 --title "Config" 3>&1 1>&2 2>&3) if [ -z $passdia ]; then PasswordQuest; fi -#mysql -uroot -p"$passdia" -e "" > /dev/null 2>&1 +mysql -uroot -p"$passdia" -e "" > /dev/null 2>&1 if [ $? = 0 ]; then password="$passdia" unset passdia @@ -74,7 +74,7 @@ function LegacyPasswordQuest { echo "Enter password (Must be the same as the mysql/root password)" read -s passdia if [ -z $passdia ]; then LegacyPasswordQuest; fi -#mysql -uroot -p"$passdia" -e "" > /dev/null 2>&1 +mysql -uroot -p"$passdia" -e "" > /dev/null 2>&1 if [ $? = 0 ]; then echo "Password is correct" password="$passdia"