From f55c1d542b0b7bb2d147a63b2792309b918d7067 Mon Sep 17 00:00:00 2001 From: John Crisp Date: Wed, 4 Mar 2020 11:15:46 +0100 Subject: [PATCH] Fix openvpn error (need to use the proper local path really) --- setup.php-presetup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.php-presetup b/setup.php-presetup index b26ca01..5f40688 100644 --- a/setup.php-presetup +++ b/setup.php-presetup @@ -655,7 +655,7 @@ EOS; print '

Creating a TLS authentication key used by OpenVPN.
'; print "Saving to $store_dir/takey.pem.

"; - $cmd = $command . " --genkey --secret '$config[private_dir]/takey.pem'"; + $cmd = "openvpn --genkey --secret '$config[private_dir]/takey.pem'"; print $cmd.'
'; flush(); flush_exec($cmd);