core68: stop strongswan while update it.

This commit is contained in:
Arne Fitzenreiter
2013-05-10 12:54:21 +02:00
parent 24131aadf4
commit 83eb743523

View File

@@ -39,6 +39,7 @@ rm -rf /opt/pakfire/db/*/meta-freefont
# #
#Stop services #Stop services
/etc/init.d/ipsec stop
# #
#Extract files #Extract files
@@ -46,6 +47,9 @@ extract_files
# #
#Start services #Start services
if [ `grep "ENABLED=on" /var/ipfire/vpn/settings` ]; then
/etc/init.d/ipsec start
fi
# #
#Update Language cache #Update Language cache
@@ -65,3 +69,4 @@ sync
sendprofile sendprofile
#Don't report the exitcode last command #Don't report the exitcode last command
exit 0 exit 0