From aaf12a485ec085c805f153b574059dc0600736c5 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Sun, 23 Jan 2011 00:31:04 +0100 Subject: [PATCH] core45: start vpn-watch only if ipsec is enabled. --- config/rootfiles/core/45/update.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/config/rootfiles/core/45/update.sh b/config/rootfiles/core/45/update.sh index 69b61e367a..3229f745e1 100644 --- a/config/rootfiles/core/45/update.sh +++ b/config/rootfiles/core/45/update.sh @@ -54,8 +54,10 @@ echo Starting Proxy /etc/init.d/squid start 2>/dev/null echo Rewriting Outgoing FW Rules /var/ipfire/outgoing/bin/outgoingfw.pl -echo Starting vpn-watch -/usr/local/bin/vpn-watch & +if [ `grep "ENABLED=on" /var/ipfire/vpn/setting` ]; then + echo Starting vpn-watch + /usr/local/bin/vpn-watch & +fi # #Update Language cache -- 2.39.2