diff options
author | Scott Ullrich <sullrich@gmail.com> | 2011-11-02 14:25:13 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@gmail.com> | 2011-11-02 14:25:13 -0400 |
commit | 775dd7ab660486ab2d8fafa06622ef7fd9af1078 (patch) | |
tree | 04f347183076c4f73aea005b0a2af48f4b5e03d7 /config | |
parent | 031c3ca2286509acad65e52e2ea3fbc857bafbc8 (diff) | |
download | pfsense-packages-775dd7ab660486ab2d8fafa06622ef7fd9af1078.tar.gz pfsense-packages-775dd7ab660486ab2d8fafa06622ef7fd9af1078.tar.bz2 pfsense-packages-775dd7ab660486ab2d8fafa06622ef7fd9af1078.zip |
Correct path to binary
Diffstat (limited to 'config')
-rwxr-xr-x | config/openvpn-client-export/openvpn-client-export.inc | 4 |
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"); |