aboutsummaryrefslogtreecommitdiffstats
path: root/config/openvpn-client-export
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-10-05 15:45:40 -0400
committerjim-p <jimp@pfsense.org>2010-10-05 15:45:40 -0400
commitc812ff7695042a51a1fec67f10bcf35674659cfe (patch)
treea17a4639d6f6b7cd1fbf8761ef20a31c4f7b0459 /config/openvpn-client-export
parent51506bacec0c6e025204b2bf3d3a5a6ed968db00 (diff)
downloadpfsense-packages-c812ff7695042a51a1fec67f10bcf35674659cfe.tar.gz
pfsense-packages-c812ff7695042a51a1fec67f10bcf35674659cfe.tar.bz2
pfsense-packages-c812ff7695042a51a1fec67f10bcf35674659cfe.zip
Download this .tgz to /usr/local/pkg and leave it, or else the package system thinks that it is always missing dependencies.
Diffstat (limited to 'config/openvpn-client-export')
-rwxr-xr-xconfig/openvpn-client-export/openvpn-client-export.inc3
-rwxr-xr-xconfig/openvpn-client-export/openvpn-client-export.xml2
2 files changed, 2 insertions, 3 deletions
diff --git a/config/openvpn-client-export/openvpn-client-export.inc b/config/openvpn-client-export/openvpn-client-export.inc
index 7cffaf3e..144fe176 100755
--- a/config/openvpn-client-export/openvpn-client-export.inc
+++ b/config/openvpn-client-export/openvpn-client-export.inc
@@ -36,7 +36,7 @@ require_once("openvpn.inc");
function openvpn_client_export_install() {
conf_mount_rw();
- $tarpath = "/root/openvpn-client-export.tgz";
+ $tarpath = "/usr/local/pkg/openvpn-client-export.tgz";
$phpfile = "vpn_openvpn_export.php";
$ovpndir = "/usr/local/share/openvpn";
$workdir = "{$ovpndir}/client-export";
@@ -45,7 +45,6 @@ function openvpn_client_export_install() {
mkdir("/usr/local/share/openvpn");
exec("/usr/bin/tar zxf {$tarpath} -C {$ovpndir}");
- unlink($tarpath);
conf_mount_ro();
}
diff --git a/config/openvpn-client-export/openvpn-client-export.xml b/config/openvpn-client-export/openvpn-client-export.xml
index f1de6352..cf163a20 100755
--- a/config/openvpn-client-export/openvpn-client-export.xml
+++ b/config/openvpn-client-export/openvpn-client-export.xml
@@ -20,7 +20,7 @@
<item>http://www.pfsense.com/packages/config/openvpn-client-export/openvpn-client-export.inc</item>
</additional_files_needed>
<additional_files_needed>
- <prefix>/root/</prefix>
+ <prefix>/usr/local/pkg/</prefix>
<chmod>077</chmod>
<item>http://files.pfsense.com/packages/openvpn-client-export/openvpn-client-export.tgz</item>
</additional_files_needed>