* [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 0251dca9e865ca677aedc613e90c2a1ef96d2b0b
@ 2013-08-11 7:47 git
0 siblings, 0 replies; only message in thread
From: git @ 2013-08-11 7:47 UTC (permalink / raw)
To: ipfire-scm
[-- Attachment #1: Type: text/plain, Size: 1740 bytes --]
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 2.x development tree".
The branch, next has been updated
via 0251dca9e865ca677aedc613e90c2a1ef96d2b0b (commit)
from bdc9033f08bce0c76f7d134de4a21e2b11f3671e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 0251dca9e865ca677aedc613e90c2a1ef96d2b0b
Author: Arne Fitzenreiter <arne_f(a)ipfire.org>
Date: Sun Aug 11 09:46:16 2013 +0200
core72: start ipsec only if enabled after update.
-----------------------------------------------------------------------
Summary of changes:
config/rootfiles/core/72/update.sh | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
Difference in files:
diff --git a/config/rootfiles/core/72/update.sh b/config/rootfiles/core/72/update.sh
index 15d1bf2..c3dc20a 100644
--- a/config/rootfiles/core/72/update.sh
+++ b/config/rootfiles/core/72/update.sh
@@ -34,7 +34,7 @@ done
#
#Stop services
-ipsec stop
+/etc/init.d/ipsec stop
/etc/init.d/snort stop
/etc/init.d/squid stop
@@ -47,7 +47,10 @@ extract_files
#Start services
/etc/init.d/squid start
/etc/init.d/snort start
-ipsec start
+if [ `grep "ENABLED=on" /var/ipfire/vpn/settings` ]; then
+ /etc/init.d/ipsec start
+fi
+
#
#Update Language cache
@@ -64,4 +67,3 @@ sync
sendprofile
#Don't report the exitcode last command
exit 0
-
hooks/post-receive
--
IPFire 2.x development tree
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-08-11 7:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-11 7:47 [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 0251dca9e865ca677aedc613e90c2a1ef96d2b0b git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox