summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMohit Mehta <mohit.mehta@vyatta.com>2009-12-04 18:42:34 -0800
committerMohit Mehta <mohit.mehta@vyatta.com>2010-01-12 16:43:37 -0800
commit03f361bac3eb20554b7487d4b4b6a56cbeae62a2 (patch)
tree091ab93ff60b8f3a6803220163df614b579b8595 /scripts
parent8fcedd464beb0f3124d3df5970aa5b74adb28645 (diff)
downloadvyatta-op-vpn-03f361bac3eb20554b7487d4b4b6a56cbeae62a2.tar.gz
vyatta-op-vpn-03f361bac3eb20554b7487d4b4b6a56cbeae62a2.zip
use correct path for ported newhostkey command
(cherry picked from commit dfe4041f35fdfc7d9909c297396cd40bcf3d2d21)
Diffstat (limited to 'scripts')
-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 54d1e68..2be6b2a 100755
--- a/scripts/gen_local_rsa_key.pl
+++ b/scripts/gen_local_rsa_key.pl
@@ -85,7 +85,7 @@ if (-r $local_key_file) {
}
}
-$cmd = "/usr/sbin/ipsec newhostkey --output $local_key_file --bits $bits";
+$cmd = "/usr/lib/ipsec/newhostkey --output $local_key_file --bits $bits";
#
# The default random number generator is /dev/random, but it will block
# if there isn't enough system activity to provide enough "good" random