]> git.ipfire.org Git - people/ummeegge/ipfire-2.x.git/commitdiff
Core Update 174: Ship and restart Squid
authorPeter Müller <peter.mueller@ipfire.org>
Sat, 4 Mar 2023 13:40:45 +0000 (13:40 +0000)
committerPeter Müller <peter.mueller@ipfire.org>
Sat, 4 Mar 2023 13:40:45 +0000 (13:40 +0000)
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
config/rootfiles/core/174/filelists/squid [new symlink]
config/rootfiles/core/174/update.sh

diff --git a/config/rootfiles/core/174/filelists/squid b/config/rootfiles/core/174/filelists/squid
new file mode 120000 (symlink)
index 0000000..2dc8372
--- /dev/null
@@ -0,0 +1 @@
+../../../common/squid
\ No newline at end of file
index 614e914f4f6e50e90771ecd812e563de3162462f..49280a89ad2876fee8febfa1a06d45f9e8e64840 100644 (file)
@@ -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