From: Arne Fitzenreiter Date: Sun, 19 Feb 2012 12:04:06 +0000 (+0100) Subject: core57: stop/start ipsec at update. X-Git-Tag: v2.11-core58~19 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=42fb65f0f3f78c706d0406f40b6989f3d40e4cae;p=people%2Fms%2Fipfire-2.x.git core57: stop/start ipsec at update. --- diff --git a/config/rootfiles/core/57/update.sh b/config/rootfiles/core/57/update.sh index 6668c8f552..177bf721f7 100644 --- a/config/rootfiles/core/57/update.sh +++ b/config/rootfiles/core/57/update.sh @@ -36,16 +36,19 @@ done #Stop services /etc/init.d/squid stop /etc/init.d/apache stop +/etc/init.d/ipsec stop # #Extract files extract_files - # #Start services /etc/init.d/squid start /etc/init.d/apache start +if [ `grep "ENABLED=on" /var/ipfire/vpn/settings` ]; then + /etc/init.d/ipsec start +fi # #Update Language cache