diff options
author | Matthew Grooms <mgrooms@pfsense.org> | 2008-09-01 01:11:53 +0000 |
---|---|---|
committer | Matthew Grooms <mgrooms@pfsense.org> | 2008-09-01 01:11:53 +0000 |
commit | 82b61e6b717cf4a743973b6d880790893c4080fe (patch) | |
tree | 8feb8ddcf25b246972dd198854956a48e0eaf2e6 /etc/inc/openvpn.inc | |
parent | b3251a0c8de49d3a2f62369168b5f4bda9f15c81 (diff) | |
download | pfsense-82b61e6b717cf4a743973b6d880790893c4080fe.zip pfsense-82b61e6b717cf4a743973b6d880790893c4080fe.tar.gz |
Don't create the standard OpenVPN paths in openvpn_resync_all(). These are
now created during the bootup process.
Diffstat (limited to 'etc/inc/openvpn.inc')
-rw-r--r-- | etc/inc/openvpn.inc | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/etc/inc/openvpn.inc b/etc/inc/openvpn.inc index ba1eb5a..7740a3a 100644 --- a/etc/inc/openvpn.inc +++ b/etc/inc/openvpn.inc @@ -521,18 +521,6 @@ function openvpn_resync_all() { if (!is_array($config['openvpn'])) $config['openvpn'] = array(); - $path_ovpn = $g['varetc_path']."/openvpn"; - safe_mkdir($path_ovpn); - - chown($path_ovpn, 'nobody'); - chgrp($path_ovpn, 'nobody'); - - $path_csc = $g['varetc_path']."/openvpn_csc"; - safe_mkdir($path_csc); - - chown($path_csc, 'nobody'); - chgrp($path_csc, 'nobody'); - if (!$config['openvpn']['dh-parameters']) { echo "Configuring OpenVPN Parameters ...\n"; $dh_parameters = openvpn_create_dhparams(); |