From 83eb743523eae784bde6cc6b30dbe5d3af428d41 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Fri, 10 May 2013 12:54:21 +0200 Subject: [PATCH] core68: stop strongswan while update it. --- config/rootfiles/core/68/update.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/rootfiles/core/68/update.sh b/config/rootfiles/core/68/update.sh index 11cab1009..e68229a3f 100644 --- a/config/rootfiles/core/68/update.sh +++ b/config/rootfiles/core/68/update.sh @@ -39,6 +39,7 @@ rm -rf /opt/pakfire/db/*/meta-freefont # #Stop services +/etc/init.d/ipsec stop # #Extract files @@ -46,6 +47,9 @@ extract_files # #Start services +if [ `grep "ENABLED=on" /var/ipfire/vpn/settings` ]; then + /etc/init.d/ipsec start +fi # #Update Language cache @@ -65,3 +69,4 @@ sync sendprofile #Don't report the exitcode last command exit 0 + -- 2.39.2