diff options
Diffstat (limited to 'config/ovpnenhance/ovpnenhance.inc')
-rw-r--r-- | config/ovpnenhance/ovpnenhance.inc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/config/ovpnenhance/ovpnenhance.inc b/config/ovpnenhance/ovpnenhance.inc new file mode 100644 index 00000000..4c2a82db --- /dev/null +++ b/config/ovpnenhance/ovpnenhance.inc @@ -0,0 +1,13 @@ +<?php + +function ovpnenhance_install() { + global $g, $config; + +mwexec("mv /usr/local/pkg/openvpn.inc_tls /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"); +mwexec("rm /usr/local/pkg/ovpnenhance.inc"); +} + +?>
\ No newline at end of file |