mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
Core Update 174: Ship and restart Squid
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
This commit is contained in:
1
config/rootfiles/core/174/filelists/squid
Symbolic link
1
config/rootfiles/core/174/filelists/squid
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../common/squid
|
||||
@@ -17,7 +17,7 @@
|
||||
# along with IPFire; if not, write to the Free Software #
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #
|
||||
# #
|
||||
# Copyright (C) 2022 IPFire-Team <info@ipfire.org>. #
|
||||
# Copyright (C) 2023 IPFire-Team <info@ipfire.org>. #
|
||||
# #
|
||||
############################################################################
|
||||
#
|
||||
@@ -32,6 +32,7 @@ for (( i=1; i<=$core; i++ )); do
|
||||
done
|
||||
|
||||
# Stop services
|
||||
/etc/rc.d/init.d/squid stop
|
||||
|
||||
# Extract files
|
||||
extract_files
|
||||
@@ -51,6 +52,9 @@ ldconfig
|
||||
|
||||
# Start services
|
||||
telinit u
|
||||
if [ -f /var/ipfire/proxy/enable ]; then
|
||||
/etc/init.d/squid start
|
||||
fi
|
||||
|
||||
# This update needs a reboot...
|
||||
touch /var/run/need_reboot
|
||||
|
||||
Reference in New Issue
Block a user