]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
Core Update 182: Ship and restart StrongSwan
authorPeter Müller <peter.mueller@ipfire.org>
Wed, 22 Nov 2023 14:51:29 +0000 (14:51 +0000)
committerPeter Müller <peter.mueller@ipfire.org>
Wed, 22 Nov 2023 14:51:29 +0000 (14:51 +0000)
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
config/rootfiles/core/182/update.sh

index 0bcb91105a1b0808f55e68e01df32aaabdb9a6f9..b481f74008c1d5c450f3486ce7b503fce6cfa642 100644 (file)
@@ -32,6 +32,7 @@ for (( i=1; i<=$core; i++ )); do
 done
 
 # Stop services
+/etc/rc.d/init.d/ipsec stop
 /etc/rc.d/init.d/squid stop
 /etc/rc.d/init.d/unbound stop
 
@@ -58,6 +59,9 @@ ldconfig
 if [ -f /var/ipfire/proxy/enable ]; then
        /etc/init.d/squid start
 fi
+if grep -q "ENABLED=on" /var/ipfire/vpn/settings; then
+       /etc/rc.d/init.d/ipsec start
+fi
 
 # This update needs a reboot...
 #touch /var/run/need_reboot