upgrade updates
authorPeter Palfrader <peter@palfrader.org>
Thu, 17 Mar 2011 14:14:32 +0000 (15:14 +0100)
committerPeter Palfrader <peter@palfrader.org>
Thu, 17 Mar 2011 14:14:32 +0000 (15:14 +0100)
input/howto/upgrade-to-squeeze.mdwn

index fb19472..f7d5905 100644 (file)
@@ -3,7 +3,8 @@
 
 turn off samhain
 
-       /etc/init.d/samhain stop
+       /etc/init.d/samhain stop &&
+       mv /etc/rc2.d/S19samhain /etc/rc2.d/K19samhain # and stay down
 
 
 maybe turn off exim
@@ -88,13 +89,21 @@ purge removed packages
        echo "really purge these [y/N]?" && read ans && [ "$ans" = "y" ] && dpkg --purge `dpkg --get-selections | awk '$2=="deinstall" {print $1}'` &&
        echo "These are not at install:" && dpkg --get-selections | awk '$2!="install" {print $1}'
 
+re-init samhain
+
 possibly reboot
 
-re-enable exim
+re-enable exim, samhain
+       mv /etc/rc2.d/K02exim4 /etc/rc2.d/S02exim4
+       env -i /etc/init.d/exim4 start
 
-       mv /etc/rc2.d/K20exim4 /etc/rc2.d/S20exim4
+       mv /etc/rc2.d/K02samhain /etc/rc2.d/S02samhain
        env -i /etc/init.d/exim4 start
 
+       insserv
+
+re-init samhain
+
 
 ### Problems with CCISS