]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
core180: Ship squid
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 5 Sep 2023 10:46:05 +0000 (10:46 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 5 Sep 2023 15:15:53 +0000 (15:15 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/rootfiles/core/180/filelists/squid [new symlink]
config/rootfiles/core/180/update.sh

diff --git a/config/rootfiles/core/180/filelists/squid b/config/rootfiles/core/180/filelists/squid
new file mode 120000 (symlink)
index 0000000..2dc8372
--- /dev/null
@@ -0,0 +1 @@
+../../../common/squid
\ No newline at end of file
index 764cc8cc192a8de4073c52d3c8385df7043429ea..4337e2533d5a5d0cce7fe65c5de51b8e74ec95fd 100644 (file)
@@ -57,6 +57,9 @@ telinit u
 /etc/rc.d/init.d/sshd restart
 /etc/rc.d/init.d/vnstat restart
 /etc/rc.d/init.d/unbound restart
+if [ -f /var/ipfire/proxy/enable ]; then
+       /etc/init.d/squid restart
+fi
 
 # This update needs a reboot...
 #touch /var/run/need_reboot