From: Peter Müller Date: Wed, 22 Nov 2023 14:56:09 +0000 (+0000) Subject: Core Update 182: Ship and restart strongSwan X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=54dbdf552c673dd3b06c51dde022e1083a9b42e7;p=people%2Fms%2Fipfire-2.x.git Core Update 182: Ship and restart strongSwan Signed-off-by: Peter Müller --- diff --git a/config/rootfiles/core/182/filelists/strongswan b/config/rootfiles/core/182/filelists/strongswan new file mode 120000 index 0000000000..90c727e265 --- /dev/null +++ b/config/rootfiles/core/182/filelists/strongswan @@ -0,0 +1 @@ +../../../common/strongswan \ No newline at end of file diff --git a/config/rootfiles/core/182/update.sh b/config/rootfiles/core/182/update.sh index 0bcb91105a..b481f74008 100644 --- a/config/rootfiles/core/182/update.sh +++ b/config/rootfiles/core/182/update.sh @@ -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