aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@gmail.com>2011-11-02 14:25:13 -0400
committerScott Ullrich <sullrich@gmail.com>2011-11-02 14:25:13 -0400
commit775dd7ab660486ab2d8fafa06622ef7fd9af1078 (patch)
tree04f347183076c4f73aea005b0a2af48f4b5e03d7
parent031c3ca2286509acad65e52e2ea3fbc857bafbc8 (diff)
downloadpfsense-packages-775dd7ab660486ab2d8fafa06622ef7fd9af1078.tar.gz
pfsense-packages-775dd7ab660486ab2d8fafa06622ef7fd9af1078.tar.bz2
pfsense-packages-775dd7ab660486ab2d8fafa06622ef7fd9af1078.zip
Correct path to binary
-rwxr-xr-xconfig/openvpn-client-export/openvpn-client-export.inc4
1 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 18ca1859..0223a7ef 100755
--- a/config/openvpn-client-export/openvpn-client-export.inc
+++ b/config/openvpn-client-export/openvpn-client-export.inc
@@ -530,8 +530,8 @@ EOF;
}
// Zip Viscosity file
- if(file_exists())
-
+ if(file_exists("/usr/pbi/zip-{$uname_p}/bin/zip"))
+ exec("cd {$tempdir}/.. && /usr/pbi/zip-{$uname_p}/bin/zip -r {$zipfile} Viscosity.visc");
else
exec("cd {$tempdir}/.. && /usr/local/bin/zip -r {$zipfile} Viscosity.visc");