Moved squid restart at coreupdate to the end of update process.
authorArne Fitzenreiter <arne_f@ipfire.org>
Wed, 23 Jun 2010 15:44:49 +0000 (17:44 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Wed, 23 Jun 2010 15:44:49 +0000 (17:44 +0200)
If squidguard need to much ram the build of the ramdisk may fail
on machines with less ram.

config/rootfiles/core/38/update.sh

index 8882021..1c65373 100644 (file)
@@ -116,9 +116,8 @@ echo Unpack the updated files ...
 tar xvf /opt/pakfire/tmp/files --preserve --numeric-owner -C / \
        --no-overwrite-dir
 #
-# Start Sevices
+# Start sysklogd
 /etc/init.d/sysklogd start
-/etc/init.d/squid start
 #
 # Modify grub.conf
 #
@@ -267,6 +266,9 @@ echo '/usr/bin/logger -p syslog.emerg -t core-upgrade-38 " *** Please reboot...
 chmod +x /tmp/pak_update
 /tmp/pak_update &
 #
+# Start squid
+/etc/init.d/squid start
+#
 echo
 echo Please wait until pakfire has ended...
 echo