From c812ff7695042a51a1fec67f10bcf35674659cfe Mon Sep 17 00:00:00 2001 From: jim-p Date: Tue, 5 Oct 2010 15:45:40 -0400 Subject: Download this .tgz to /usr/local/pkg and leave it, or else the package system thinks that it is always missing dependencies. --- config/openvpn-client-export/openvpn-client-export.inc | 3 +-- config/openvpn-client-export/openvpn-client-export.xml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'config/openvpn-client-export') 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 @@ http://www.pfsense.com/packages/config/openvpn-client-export/openvpn-client-export.inc - /root/ + /usr/local/pkg/ 077 http://files.pfsense.com/packages/openvpn-client-export/openvpn-client-export.tgz -- cgit v1.2.3