diff options
author | Bill Nottingham <notting@redhat.com> | 2006-07-05 18:06:05 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2006-07-05 18:06:05 +0000 |
commit | 76afb000ffb6eaeb9bcc07f005dc0d29ee928b8b (patch) | |
tree | c51c1ab7e3bd6cb6f903786b0da1d4d096997985 | |
parent | 244ec10153ff6aed70c0584c14705a9d86be2341 (diff) | |
download | initscripts-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>)
-rwxr-xr-x | sysconfig/network-scripts/ifdown-ipsec | 1 |
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 |