X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fsite_avenger%2Frevamp_cakelampvm_v003.sh;h=733aba3359c9dea51fe333b6581a895fa338c5c4;hb=95d2531eed9e94d6cc985e3107073ed6f905b458;hp=5cd4a5783fb6773fe80587f6e5d03349f7b690e7;hpb=83f7ee53a24c439ffe2439d2e0facaa351bf4aaf;p=feisty_meow.git diff --git a/scripts/site_avenger/revamp_cakelampvm_v003.sh b/scripts/site_avenger/revamp_cakelampvm_v003.sh index 5cd4a578..733aba33 100644 --- a/scripts/site_avenger/revamp_cakelampvm_v003.sh +++ b/scripts/site_avenger/revamp_cakelampvm_v003.sh @@ -58,7 +58,12 @@ sep echo "Adding users to the mysql database." -#hmmm: good application for hiding output unless error here. +# note regarding v003 of the revamp script: i am leaving the mysql code +# alone for the moment; it's a good example of using our password, gathered +# above. (a better example wouldn't pass the password on the command line +# but involving an "expect" script is out of scope currently.) --fred + +#hmmm: good example here for why we need the code that "hides output unless error". mysql -u root -p"$mysql_passwd" &>/dev/null <