aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-06-24 10:41:53 -0400
committerjim-p <jimp@pfsense.org>2010-06-24 10:41:53 -0400
commita16850621d7fd847a20cad3cb94234ba4a9d500f (patch)
tree5d80a60793be0a0c27d85d1cef246610b0a81cab
parenta8ae6140a5737dc5668144f9a76e75d9c4b345c8 (diff)
downloadpfsense-packages-a16850621d7fd847a20cad3cb94234ba4a9d500f.tar.gz
pfsense-packages-a16850621d7fd847a20cad3cb94234ba4a9d500f.tar.bz2
pfsense-packages-a16850621d7fd847a20cad3cb94234ba4a9d500f.zip
Make this package download to /root/ instead of /tmp/
-rwxr-xr-xconfig/openvpn-client-export/openvpn-client-export.inc2
-rwxr-xr-xconfig/openvpn-client-export/openvpn-client-export.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/config/openvpn-client-export/openvpn-client-export.inc b/config/openvpn-client-export/openvpn-client-export.inc
index e6edab45..8838cf59 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 = "/tmp/openvpn-client-export.tgz";
+ $tarpath = "/root/openvpn-client-export.tgz";
$phpfile = "vpn_openvpn_export.php";
$ovpndir = "/usr/local/share/openvpn";
$workdir = "{$ovpndir}/client-export";
diff --git a/config/openvpn-client-export/openvpn-client-export.xml b/config/openvpn-client-export/openvpn-client-export.xml
index 7d881800..b6e020d7 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>/tmp/</prefix>
+ <prefix>/root/</prefix>
<chmod>077</chmod>
<item>http://www.pfsense.com/packages/config/openvpn-client-export/openvpn-client-export.tgz</item>
</additional_files_needed>