aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/ovpnenhance/ovpnenhance.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/ovpnenhance/ovpnenhance.inc b/config/ovpnenhance/ovpnenhance.inc
index 406f89bf..a281180f 100644
--- a/config/ovpnenhance/ovpnenhance.inc
+++ b/config/ovpnenhance/ovpnenhance.inc
@@ -3,8 +3,8 @@
function ovpnenhance_install() {
global $g, $config;
-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("ln -s /etc/inc/openvpn.inc /usr/local/pkg/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");