From: Peter Müller Date: Mon, 21 Mar 2022 19:04:11 +0000 (+0000) Subject: Core Update 166: Ship and restart strongSwan X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=451cf01677c4da62dd7235ec1cfbe8b54fa8b201;p=people%2Fms%2Fipfire-2.x.git Core Update 166: Ship and restart strongSwan Signed-off-by: Peter Müller --- diff --git a/config/rootfiles/core/166/filelists/strongswan b/config/rootfiles/core/166/filelists/strongswan new file mode 120000 index 0000000000..90c727e265 --- /dev/null +++ b/config/rootfiles/core/166/filelists/strongswan @@ -0,0 +1 @@ +../../../common/strongswan \ No newline at end of file diff --git a/config/rootfiles/core/166/update.sh b/config/rootfiles/core/166/update.sh index 1370555b06..4c1c1e483a 100644 --- a/config/rootfiles/core/166/update.sh +++ b/config/rootfiles/core/166/update.sh @@ -46,6 +46,7 @@ gpg --batch --yes --delete-keys 179740DC4D8C47DC63C099C74BDE364C64D96617 unset GNUPGHOME # Stop services +/etc/init.d/ipsec stop # Extract files extract_files @@ -69,6 +70,9 @@ perl -e "require '/var/ipfire/ids-functions.pl'; &IDS::oinkmaster();" # Start services /etc/init.d/apache restart /etc/init.d/sshd restart +if grep -q "ENABLED=on" /var/ipfire/vpn/settings; then + /etc/init.d/ipsec start +fi # This update needs a reboot... touch /var/run/need_reboot