mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-18 15:02:59 +02:00
Stop/Start squid at core32 update.
This commit is contained in:
@@ -23,8 +23,14 @@
|
||||
#
|
||||
. /opt/pakfire/lib/functions.sh
|
||||
/usr/local/bin/backupctrl exclude >/dev/null 2>&1
|
||||
#
|
||||
#Stop squid
|
||||
/etc/init.d/squid stop
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user