summaryrefslogtreecommitdiff
path: root/scripts/gen_local_rsa_key.pl
diff options
context:
space:
mode:
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;