aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2006-07-05 18:06:05 +0000
committerBill Nottingham <notting@redhat.com>2006-07-05 18:06:05 +0000
commit76afb000ffb6eaeb9bcc07f005dc0d29ee928b8b (patch)
treec51c1ab7e3bd6cb6f903786b0da1d4d096997985 /sysconfig/network-scripts
parent244ec10153ff6aed70c0584c14705a9d86be2341 (diff)
downloadinitscripts-76afb000ffb6eaeb9bcc07f005dc0d29ee928b8b.tar
initscripts-76afb000ffb6eaeb9bcc07f005dc0d29ee928b8b.tar.gz
initscripts-76afb000ffb6eaeb9bcc07f005dc0d29ee928b8b.tar.bz2
initscripts-76afb000ffb6eaeb9bcc07f005dc0d29ee928b8b.tar.xz
initscripts-76afb000ffb6eaeb9bcc07f005dc0d29ee928b8b.zip
add check for IKE_METHOD (#197576, <john_smyth@mail.ru>)
Diffstat (limited to 'sysconfig/network-scripts')
-rwxr-xr-xsysconfig/network-scripts/ifdown-ipsec1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysconfig/network-scripts/ifdown-ipsec b/sysconfig/network-scripts/ifdown-ipsec
index 7a861c59..722c12df 100755
--- a/sysconfig/network-scripts/ifdown-ipsec
+++ b/sysconfig/network-scripts/ifdown-ipsec
@@ -32,6 +32,7 @@ if [ -n "$RSA_KEY" ]; then
IKE_METHOD=RSA
fi
+[ -n "$IKE_METHOD" ] && KEYING=automatic
[ -z "$KEYING" ] && KEYING=manual
if [ -n "$SRCNET" -o -n "$DSTNET" ]; then