From 7792770b047efb0e3c6c6d134658d1344c940831 Mon Sep 17 00:00:00 2001 From: Martin Date: Wed, 30 Sep 2009 10:53:54 +0200 Subject: use ln instead of cp :-) --- config/ovpnenhance/ovpnenhance.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/ovpnenhance') 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"); -- cgit v1.2.3