projects
/
feisty_meow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03eff85
)
hiding output from mysql for now
author
Chris Koeritz
<fred@gruntose.com>
Mon, 18 Dec 2017 21:14:18 +0000
(16:14 -0500)
committer
Chris Koeritz
<fred@gruntose.com>
Mon, 18 Dec 2017 21:14:18 +0000
(16:14 -0500)
scripts/site_avenger/revamp_cakelampvm.sh
patch
|
blob
|
history
diff --git
a/scripts/site_avenger/revamp_cakelampvm.sh
b/scripts/site_avenger/revamp_cakelampvm.sh
index 9fff4c0fc3fe5584adb375e7529549cecf58b44e..16953189b3f64c6949c9058a9921074d34c0dce2 100644
(file)
--- a/
scripts/site_avenger/revamp_cakelampvm.sh
+++ b/
scripts/site_avenger/revamp_cakelampvm.sh
@@
-52,7
+52,8
@@
sep
echo "Adding users to the mysql database."
-mysql -u root -p"$mysql_passwd" <<EOF
+#hmmm: good application for hiding output unless error here.
+mysql -u root -p"$mysql_passwd" &>/dev/null <<EOF
create user if not exists 'root'@'%' IDENTIFIED BY '$mysql_passwd';
grant all privileges on *.* TO 'root'@'%' with grant option;
@@
-66,6
+67,8
@@
test_or_die "configuring root, wampcake and lampcake users on mysql"
##############
+sep
+
echo "Making some important permission changes..."
# fix up the main web storage.