Stop/Start squid at core32 update.
authorArne Fitzenreiter <arne_f@ipfire.org>
Thu, 15 Oct 2009 06:26:26 +0000 (08:26 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Thu, 15 Oct 2009 06:26:26 +0000 (08:26 +0200)
config/rootfiles/core/32/update.sh

index 479a0c62b92d7566dd14c0ae35e4d6828e2aed44..3f379edc6d74b61e2b70b4139759ba2235716533 100644 (file)
 #
 . /opt/pakfire/lib/functions.sh
 /usr/local/bin/backupctrl exclude >/dev/null 2>&1
 #
 . /opt/pakfire/lib/functions.sh
 /usr/local/bin/backupctrl exclude >/dev/null 2>&1
+#
+#Stop squid
+/etc/init.d/squid stop
 extract_files
 #
 extract_files
 #
+#Start squid
+/etc/init.d/squid start
+#
 # Fix tmpfs Backup cronjob entry
 grep -v "tmpfs backup" /var/spool/cron/root.orig > /var/tmp/root.tmp
 echo "17 5 * * *      /etc/init.d/tmpfs backup >/dev/null" >> /var/tmp/root.tmp
 # Fix tmpfs Backup cronjob entry
 grep -v "tmpfs backup" /var/spool/cron/root.orig > /var/tmp/root.tmp
 echo "17 5 * * *      /etc/init.d/tmpfs backup >/dev/null" >> /var/tmp/root.tmp