Moved squid restart at coreupdate to the end of update process.

If squidguard need to much ram the build of the ramdisk may fail
on machines with less ram.
This commit is contained in:
Arne Fitzenreiter
2010-06-23 17:44:49 +02:00
parent c77a4b8c7a
commit 96667929bf

View File

@@ -116,9 +116,8 @@ echo Unpack the updated files ...
tar xvf /opt/pakfire/tmp/files --preserve --numeric-owner -C / \ tar xvf /opt/pakfire/tmp/files --preserve --numeric-owner -C / \
--no-overwrite-dir --no-overwrite-dir
# #
# Start Sevices # Start sysklogd
/etc/init.d/sysklogd start /etc/init.d/sysklogd start
/etc/init.d/squid start
# #
# Modify grub.conf # 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 chmod +x /tmp/pak_update
/tmp/pak_update & /tmp/pak_update &
# #
# Start squid
/etc/init.d/squid start
#
echo echo
echo Please wait until pakfire has ended... echo Please wait until pakfire has ended...
echo echo