aboutsummaryrefslogtreecommitdiffstats
path: root/config/ovpnenhance/ovpnenhance.inc
diff options
context:
space:
mode:
authorMartin <martin.fuchs@trendchiller.com>2009-09-30 10:53:54 +0200
committerMartin <martin.fuchs@trendchiller.com>2009-09-30 10:53:54 +0200
commit7792770b047efb0e3c6c6d134658d1344c940831 (patch)
tree1d84328a4ea8edd1b82f36261e21bc8ae053b962 /config/ovpnenhance/ovpnenhance.inc
parent71db8ebc722227ae25210ae63d02841f69e7cce0 (diff)
downloadpfsense-packages-7792770b047efb0e3c6c6d134658d1344c940831.tar.gz
pfsense-packages-7792770b047efb0e3c6c6d134658d1344c940831.tar.bz2
pfsense-packages-7792770b047efb0e3c6c6d134658d1344c940831.zip
use ln instead of cp :-)
Diffstat (limited to 'config/ovpnenhance/ovpnenhance.inc')
-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");