From: Arne Fitzenreiter Date: Fri, 10 May 2013 10:54:21 +0000 (+0200) Subject: core68: stop strongswan while update it. X-Git-Url: http://git.ipfire.org/?p=people%2Fteissler%2Fipfire-2.x.git;a=commitdiff_plain;h=83eb743523eae784bde6cc6b30dbe5d3af428d41 core68: stop strongswan while update it. --- 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 +