summaryrefslogtreecommitdiffstats
path: root/etc/inc/openvpn.inc
diff options
context:
space:
mode:
authorMatthew Grooms <mgrooms@pfsense.org>2008-09-04 22:48:45 +0000
committerMatthew Grooms <mgrooms@pfsense.org>2008-09-04 22:48:45 +0000
commitea28182c905d69ff7180528ecc59c82e3b993cd0 (patch)
tree8f5691eff1d7cfde769db3e033a4b29755a22616 /etc/inc/openvpn.inc
parent095a95ae54a4df73e3e04845a485e78a43c8a92d (diff)
downloadpfsense-ea28182c905d69ff7180528ecc59c82e3b993cd0.zip
pfsense-ea28182c905d69ff7180528ecc59c82e3b993cd0.tar.gz
Correct the path for OpenVPN client specific configuration files. When the
directory creation moved to the rc script, the path name was changed from /var/etc/openvpn_csc to /var/etc/openvpn-csc. Update the code to match.
Diffstat (limited to 'etc/inc/openvpn.inc')
-rw-r--r--etc/inc/openvpn.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/inc/openvpn.inc b/etc/inc/openvpn.inc
index 4b067c0..8dda12e 100644
--- a/etc/inc/openvpn.inc
+++ b/etc/inc/openvpn.inc
@@ -313,7 +313,7 @@ EOD;
$conf .= "client-to-client\n";
$conf .= "server $ip $mask\n";
- $csc_dir = "{$g['varetc_path']}/openvpn_csc";
+ $csc_dir = "{$g['varetc_path']}/openvpn-csc";
$conf .= "client-config-dir $csc_dir\n";
}
@@ -473,7 +473,7 @@ function openvpn_delete($mode, & $settings) {
function openvpn_resync_csc(& $settings) {
global $g, $config;
- $fpath = $g['varetc_path']."/openvpn_csc/".$settings['common_name'];
+ $fpath = $g['varetc_path']."/openvpn-csc/".$settings['common_name'];
if ($settings['disable']) {
unlink_if_exists($fpath);
@@ -510,7 +510,7 @@ function openvpn_resync_csc(& $settings) {
function openvpn_delete_csc(& $settings) {
global $g, $config;
- $fpath = $g['varetc_path']."/openvpn_csc/".$settings['common_name'];
+ $fpath = $g['varetc_path']."/openvpn-csc/".$settings['common_name'];
unlink_if_exists($fpath);
}
OpenPOWER on IntegriCloud