From 32927e013922e1a79b0f214773e2500a1260871a Mon Sep 17 00:00:00 2001 From: Mohit Mehta Date: Thu, 10 Dec 2009 17:19:18 -0800 Subject: fix show vpn commands to work with strongswan --- scripts/gen_local_rsa_key.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/gen_local_rsa_key.pl') 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; -- cgit v1.2.3