diff options
author | Renato Botelho <garga@FreeBSD.org> | 2014-01-24 08:33:31 -0200 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2014-01-24 08:33:31 -0200 |
commit | 2ec95f1ffb9231674f3619a641c1005b9ee55853 (patch) | |
tree | cdda6c995c239c1493c3810006fc2b2b3984b4c1 /usr/local/www/services_captiveportal_vouchers.php | |
parent | 5459701254d951eff2e46250deb76b9504a07fb8 (diff) | |
download | pfsense-2ec95f1ffb9231674f3619a641c1005b9ee55853.zip pfsense-2ec95f1ffb9231674f3619a641c1005b9ee55853.tar.gz |
Fix openssl path
Diffstat (limited to 'usr/local/www/services_captiveportal_vouchers.php')
-rw-r--r-- | usr/local/www/services_captiveportal_vouchers.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/services_captiveportal_vouchers.php b/usr/local/www/services_captiveportal_vouchers.php index fb5b844..47c3882 100644 --- a/usr/local/www/services_captiveportal_vouchers.php +++ b/usr/local/www/services_captiveportal_vouchers.php @@ -25,7 +25,7 @@ POSSIBILITY OF SUCH DAMAGE. */ /* - pfSense_BUILDER_BINARIES: /usr/local/bin/voucher /usr/local/bin/openssl + pfSense_BUILDER_BINARIES: /usr/local/bin/voucher /usr/bin/openssl pfSense_MODULE: captiveportal */ @@ -56,8 +56,8 @@ if (empty($cpzone)) { } if($_REQUEST['generatekey']) { - exec("/usr/local/bin/openssl genrsa 64 > /tmp/key64.private"); - exec("/usr/local/bin/openssl rsa -pubout < /tmp/key64.private > /tmp/key64.public"); + exec("/usr/bin/openssl genrsa 64 > /tmp/key64.private"); + exec("/usr/bin/openssl rsa -pubout < /tmp/key64.private > /tmp/key64.public"); $privatekey = str_replace("\n", "\\n", file_get_contents("/tmp/key64.private")); $publickey = str_replace("\n", "\\n", file_get_contents("/tmp/key64.public")); exec("rm /tmp/key64.private /tmp/key64.public"); |