From a16850621d7fd847a20cad3cb94234ba4a9d500f Mon Sep 17 00:00:00 2001 From: jim-p Date: Thu, 24 Jun 2010 10:41:53 -0400 Subject: Make this package download to /root/ instead of /tmp/ --- config/openvpn-client-export/openvpn-client-export.inc | 2 +- config/openvpn-client-export/openvpn-client-export.xml | 2 +- 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 @@ http://www.pfsense.com/packages/config/openvpn-client-export/openvpn-client-export.inc - /tmp/ + /root/ 077 http://www.pfsense.com/packages/config/openvpn-client-export/openvpn-client-export.tgz -- cgit v1.2.3