]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
Stop ipsec at core38 update.
authorArne Fitzenreiter <arne_f@ipfire.org>
Sat, 15 May 2010 11:50:54 +0000 (13:50 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sat, 15 May 2010 11:50:54 +0000 (13:50 +0200)
config/rootfiles/core/38/update.sh

index 3c10b716e941c8bd8e037d865e9423f5775ee56e..17f657e62a0aa686f6faa1a860577572f85bec52 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
 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 ...
 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
 
 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
 #
 #
 # Backup grub.conf
 #