From: Chris Koeritz Date: Wed, 7 Feb 2018 20:50:47 +0000 (-0500) Subject: fixed variable name confusion X-Git-Tag: 2.140.109^2~4 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=c618ac10d2e602b1b22480e7c782a3c120eafb83;p=feisty_meow.git fixed variable name confusion --- diff --git a/scripts/site_avenger/revamp_cakelampvm.sh b/scripts/site_avenger/revamp_cakelampvm.sh index 773e5a89..f8c2ebe2 100644 --- a/scripts/site_avenger/revamp_cakelampvm.sh +++ b/scripts/site_avenger/revamp_cakelampvm.sh @@ -27,10 +27,11 @@ source "$FEISTY_MEOW_SCRIPTS/security/password_functions.sh" echo A load_password /etc/mysql/secret_password mysql_passwd echo B -if [ -z "$mysql_password" ]; then +if [ -z "$mysql_passwd" ]; then echo C - read_password "Please enter the MySQL root account password:" mysql_password + read_password "Please enter the MySQL root account password:" mysql_passwd echo D +echo password was found as: $mysql_passwd # echo -n "Please enter the MySQL root account password: " # # turn off echo but remember former setting. # stty_orig=`stty -g` @@ -45,7 +46,7 @@ echo E exit 1 else echo F - store_password /etc/mysql/secret_password "$mysql_password" + store_password /etc/mysql/secret_password "$mysql_passwd" fi ##############