diff options
author | Martin Willi <martin@strongswan.org> | 2006-04-27 07:33:01 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2006-04-27 07:33:01 +0000 |
commit | f1e87b9022fa68ea4cc38317eea1a59a41a5ae3d (patch) | |
tree | cdda37b8e75be4fd7bd8e1805ce20eb0df339a2d /Source/patches/strongswan-2.7.0.patch | |
parent | 8cd73fe546e26480174b8da9ed147c8bbb7b3473 (diff) | |
download | strongswan-f1e87b9022fa68ea4cc38317eea1a59a41a5ae3d.tar.bz2 strongswan-f1e87b9022fa68ea4cc38317eea1a59a41a5ae3d.tar.xz |
- fixed charon checks
- using status & statusall
Diffstat (limited to 'Source/patches/strongswan-2.7.0.patch')
-rw-r--r-- | Source/patches/strongswan-2.7.0.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/patches/strongswan-2.7.0.patch b/Source/patches/strongswan-2.7.0.patch index 6e814f5c1..6f3ba1b27 100644 --- a/Source/patches/strongswan-2.7.0.patch +++ b/Source/patches/strongswan-2.7.0.patch @@ -60,7 +60,7 @@ diff -Naur strongswan-2.7.0/programs/ipsec/ipsec.in strongswan-2.7.0-charon/prog op="$1" shift $IPSEC_EXECDIR/whack "$@" "--$op" -+ if test -e $IPSEC_EXECDIR/stroke ++ if test -e $IPSEC_CHARON_PID + then + $IPSEC_EXECDIR/stroke "$op" + fi @@ -71,15 +71,15 @@ diff -Naur strongswan-2.7.0/programs/ipsec/ipsec.in strongswan-2.7.0-charon/prog if test $# -eq 0 then $IPSEC_EXECDIR/whack "--$op" -+ if test -e $IPSEC_EXECDIR/stroke ++ if test -e $IPSEC_CHARON_PID + then -+ $IPSEC_EXECDIR/stroke status ++ $IPSEC_EXECDIR/stroke "$op" + fi else $IPSEC_EXECDIR/whack --name "$1" "--$op" + if test -e $IPSEC_CHARON_PID + then -+ $IPSEC_EXECDIR/stroke status ++ $IPSEC_EXECDIR/stroke "$op" "$1" + fi fi exit 0 |