Stop ipsec at core38 update.
[people/pmueller/ipfire-2.x.git] / config / rootfiles / core / 38 / update.sh
index 3c10b71..17f657e 100644 (file)
@@ -50,6 +50,14 @@ echo usr/lib/ipsec >> /opt/pakfire/tmp/ROOTFILES
 echo usr/libexec/ipsec >> /opt/pakfire/tmp/ROOTFILES
 tar cjvf /var/ipfire/backup/core-upgrade_$KVER.tar.bz2 \
     -C / -T /opt/pakfire/tmp/ROOTFILES --exclude='#*' > /dev/null 2>&1
+
+#
+# Stop Sevices
+#
+/etc/init.d/collectd stop
+/etc/init.d/squid stop
+/etc/init.d/ipsec stop
+
 echo
 echo Update Kernel to $KVER ...
 # Remove old kernel, configs, initrd, modules ...
@@ -67,12 +75,6 @@ rm -rf /lib/modules/*-ipfire
 rm -rf /usr/lib/ipsec
 rm -rf /usr/libexec/ipsec
 
-#
-# Stop Sevices
-#
-/etc/init.d/collectd stop
-/etc/init.d/squid stop
-
 #
 # Backup grub.conf
 #