aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin <martin.fuchs@trendchiller.com>2009-09-30 09:32:21 +0200
committerMartin <martin.fuchs@trendchiller.com>2009-09-30 09:32:21 +0200
commit20ce32292eb90b9e39e8f63c0a048d856db822bd (patch)
treee626492982a7ade5ea97a47341b3898237e9b0a4
parent2b7e84819d7ff6af65ecf52f81ec02924c40ef8e (diff)
downloadpfsense-packages-20ce32292eb90b9e39e8f63c0a048d856db822bd.tar.gz
pfsense-packages-20ce32292eb90b9e39e8f63c0a048d856db822bd.tar.bz2
pfsense-packages-20ce32292eb90b9e39e8f63c0a048d856db822bd.zip
fix OpenVPN enhancements for pfSense 1.2.3
-rw-r--r--config/ovpnenhance/ovpnenhance.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/ovpnenhance/ovpnenhance.inc b/config/ovpnenhance/ovpnenhance.inc
index 4c2a82db..406f89bf 100644
--- a/config/ovpnenhance/ovpnenhance.inc
+++ b/config/ovpnenhance/ovpnenhance.inc
@@ -3,7 +3,8 @@
function ovpnenhance_install() {
global $g, $config;
-mwexec("mv /usr/local/pkg/openvpn.inc_tls /usr/local/pkg/openvpn.inc");
+mwexec("cp /usr/local/pkg/openvpn.inc_tls /usr/local/pkg/openvpn.inc");
+mwexec("mv /usr/local/pkg/openvpn.inc_tls /etc/inc/openvpn.inc");
mwexec("mv /usr/local/pkg/openvpn.xml_tls /usr/local/pkg/openvpn.xml");
mwexec("mv /usr/local/pkg/openvpn_cli.xml_tls /usr/local/pkg/openvpn_cli.xml");
mwexec("mv /usr/local/pkg/openvpn_csc.xml_tls /usr/local/pkg/openvpn_csc.xml");