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:
1a9c923
)
adjusted formatting
author
Chris Koeritz
<fred@gruntose.com>
Sun, 7 Jan 2018 16:16:43 +0000
(11:16 -0500)
committer
Chris Koeritz
<fred@gruntose.com>
Wed, 10 Jan 2018 20:01:12 +0000
(15:01 -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 3b1f35107aac8c252c94b13abc72b4bcbd55da57..e1c268b60d98d670f11fe2bfa3d708c8c2d482ff 100644
(file)
--- a/
scripts/site_avenger/revamp_cakelampvm.sh
+++ b/
scripts/site_avenger/revamp_cakelampvm.sh
@@
-276,7
+276,8
@@
echo Successfully configured the apache2 environment variables needed for cakela
sep
sep
-echo "Checking existing swap partition configuration."
+echo "Checking existing swap partition configuration.
+"
# check for existing swap.
free | grep -q "Swap:[[:blank:]]*[1-9][0-9]"
# check for existing swap.
free | grep -q "Swap:[[:blank:]]*[1-9][0-9]"
@@
-297,7
+298,8
@@
fi
crontab -l | grep -iq add_swap_mount
if [ $? -ne 0 ]; then
# no existing swap setup in crontab, so add it.
crontab -l | grep -iq add_swap_mount
if [ $? -ne 0 ]; then
# no existing swap setup in crontab, so add it.
- echo "Adding a boot-time ramdisk swap partition...
+ echo "
+Adding a boot-time ramdisk swap partition...
"
# need to do it carefully, since sed won't add lines to a null file. we thus
# create a temporary file to do our work in and ignore sed as a tool for this.
"
# need to do it carefully, since sed won't add lines to a null file. we thus
# create a temporary file to do our work in and ignore sed as a tool for this.