updates for regenerate
[feisty_meow.git] / scripts / site_avenger / revamp_cakelampvm.sh
index 3b1f35107aac8c252c94b13abc72b4bcbd55da57..fe09c4d5dbd6bd914755699697b978f697e9e496 100644 (file)
@@ -39,8 +39,8 @@ sep
 
 echo "Regenerating feisty meow loading dock."
 
-reconfigure_feisty_meow
-test_or_die "feisty meow reconfiguration"
+regenerate
+test_or_die "regenerating feisty meow configuration"
 chown -R "$(logname)":"$(logname)" /home/$(logname)/.[a-zA-Z0-9]*
 test_or_die "fix after reconfigured as sudo"
 
@@ -276,7 +276,8 @@ echo Successfully configured the apache2 environment variables needed for cakela
 
 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]"
@@ -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.
-  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.
@@ -317,6 +319,12 @@ FEISTY_MEOW_APEX=${FEISTY_MEOW_APEX}
 Added boot-time ramdisk swap partition to crontab for root."
 fi
 
+##############
+
+sep
+
+# next bit can go here.
+
 ##############
 ##############
 
@@ -334,7 +342,7 @@ echo "
 Thanks for revamping your cakelampvm.  :-)
 
 You may want to update your current shell's feisty meow environment by typing:
-  reconfigure_feisty_meow
+  regenerate
 "
 
 ##############