From a5bc82a447a25aea3a4f6de3db962a2122244556 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Sun, 19 Feb 2012 13:04:06 +0100 Subject: [PATCH] core57: stop/start ipsec at update. --- config/rootfiles/core/57/update.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.39.2