From 20ce32292eb90b9e39e8f63c0a048d856db822bd Mon Sep 17 00:00:00 2001 From: Martin Date: Wed, 30 Sep 2009 09:32:21 +0200 Subject: fix OpenVPN enhancements for pfSense 1.2.3 --- config/ovpnenhance/ovpnenhance.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"); -- cgit v1.2.3