aboutsummaryrefslogtreecommitdiffstats
path: root/config/ovpnenhance
diff options
context:
space:
mode:
Diffstat (limited to 'config/ovpnenhance')
-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");