summaryrefslogtreecommitdiff
path: root/scripts/gen_local_rsa_key.pl
diff options
context:
space:
mode:
authorMohit Mehta <mohit.mehta@vyatta.com>2009-12-10 17:19:18 -0800
committerMohit Mehta <mohit.mehta@vyatta.com>2009-12-10 17:19:18 -0800
commit32927e013922e1a79b0f214773e2500a1260871a (patch)
tree990ad11c177a74e9fa250ce5f696e45b08dba349 /scripts/gen_local_rsa_key.pl
parentdfe4041f35fdfc7d9909c297396cd40bcf3d2d21 (diff)
downloadvyatta-op-vpn-kenwood-strongswan.tar.gz
vyatta-op-vpn-kenwood-strongswan.zip
fix show vpn commands to work with strongswankenwood-strongswan
Diffstat (limited to 'scripts/gen_local_rsa_key.pl')
-rwxr-xr-xscripts/gen_local_rsa_key.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gen_local_rsa_key.pl b/scripts/gen_local_rsa_key.pl
index 2be6b2a..9bf914c 100755
--- a/scripts/gen_local_rsa_key.pl
+++ b/scripts/gen_local_rsa_key.pl
@@ -104,7 +104,7 @@ my $file_pubkey = rsa_get_local_pubkey($local_key_file);
if ($file_pubkey ne 0) {
print "\nYour new local RSA key has been generated\n";
print "The public portion of the key is:\n\n$file_pubkey\n\n";
- $cmd = "ipsec auto --rereadall 2> /dev/null";
+ $cmd = "ipsec rereadall 2> /dev/null";
vpn_debug $cmd;
system $cmd;
exit 0;