]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - config/rootfiles/core/27/update.sh
Added recent proxy modifications to core27
[people/pmueller/ipfire-2.x.git] / config / rootfiles / core / 27 / update.sh
index c8e847c3c4daa5e7942d54048666ed86ededa517..d28e9dc8cb94f0da58a06a82636002109ee3c01f 100644 (file)
@@ -1,10 +1,14 @@
 #!/bin/bash
 . /opt/pakfire/lib/functions.sh
 /usr/local/bin/backupctrl exclude >/dev/null 2>&1
+/etc/init.d/squid stop
 extract_files
 [ -e /var/ipfire/qos/enable ] && qosctrl stop
 qosctrl generate
 [ -e /var/ipfire/qos/enable ] && qosctrl start
 perl -e "require '/var/ipfire/lang.pl'; &Lang::BuildCacheLang"
 sysctl -p
-/etc/init.d/squid restart
+mv /etc/squid/cachemgr.conf /var/ipfire/proxy/cachemgr.conf
+ln -sf /var/ipfire/proxy/cachemgr.conf /etc/squid/cachemgr.conf
+chown nobody.nobody /var/ipfire/proxy/cachemgr.conf
+/etc/init.d/squid start
\ No newline at end of file