X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fsite_avenger%2Frevamp_cakelampvm.sh;h=88abc4d0dcefe4d5421b66bcf352caf6422cda98;hb=fa6306c79832872ba86308b74e9e7d123045ffbb;hp=37440de33c9d6dc27a0e105b9a803aa51184cc24;hpb=85a5dae6b705a8179e82288e16310527157df7c1;p=feisty_meow.git diff --git a/scripts/site_avenger/revamp_cakelampvm.sh b/scripts/site_avenger/revamp_cakelampvm.sh index 37440de3..88abc4d0 100644 --- a/scripts/site_avenger/revamp_cakelampvm.sh +++ b/scripts/site_avenger/revamp_cakelampvm.sh @@ -22,7 +22,12 @@ source "$FEISTY_MEOW_SCRIPTS/system/common_sysadmin.sh" # new requirement is to get the sql root password, since we need to do some sql db configuration. echo -n "Please enter the MySQL root account password: " +# turn off echo but remember former setting. +stty_orig=`stty -g` +stty -echo read mysql_passwd +# turn echo back on. +stty $stty_orig if [ -z "$mysql_passwd" ]; then echo "This script must have the sql root password to proceed." exit 1 @@ -47,7 +52,8 @@ sep echo "Adding users to the mysql database." -mysql -u root -p"$mysql_passwd" </dev/null < "/tmp/install_bluefish-$(logname).log" test_or_continue "installing bluefish editor"