diff options
Diffstat (limited to 'config')
-rwxr-xr-x | config/openvpn-client-export/openvpn-client-export.xml | 13 | ||||
-rw-r--r-- | config/openvpn-client-export/openvpnexport.inc | 11 |
2 files changed, 23 insertions, 1 deletions
diff --git a/config/openvpn-client-export/openvpn-client-export.xml b/config/openvpn-client-export/openvpn-client-export.xml index d3816e14..8e0927c3 100755 --- a/config/openvpn-client-export/openvpn-client-export.xml +++ b/config/openvpn-client-export/openvpn-client-export.xml @@ -1,12 +1,18 @@ <?xml version="1.0" encoding="utf-8" ?> <packagegui> <name>OpenVPN Client Export</name> - <version>0.9</version> + <version>0.9.1</version> <title>OpenVPN Client Export</title> <include_file>/usr/local/pkg/openvpn-client-export.inc</include_file> <backup_file></backup_file> <aftersaveredirect></aftersaveredirect> <configpath></configpath> + <menu> + <name>OpenVPN Client Export</name> + <tooltiptext>OpenVPN Client Export Utility</tooltiptext> + <section>VPN</section> + <url>vpn_openvpn_export.php</url> + </menu> <tabs> <tab> <name>Client Export</name> @@ -39,6 +45,11 @@ <chmod>077</chmod> <item>http://www.pfsense.com/packages/config/openvpn-client-export/vpn_openvpn_export_shared.php</item> </additional_files_needed> + <additional_files_needed> + <prefix>/etc/inc/priv/</prefix> + <chmod>077</chmod> + <item>http://www.pfsense.com/packages/config/openvpn-client-export/openvpnexport.inc</item> + </additional_files_needed> <custom_php_install_command> openvpn_client_export_install(); </custom_php_install_command> diff --git a/config/openvpn-client-export/openvpnexport.inc b/config/openvpn-client-export/openvpnexport.inc new file mode 100644 index 00000000..93046364 --- /dev/null +++ b/config/openvpn-client-export/openvpnexport.inc @@ -0,0 +1,11 @@ +<?php + +global $priv_list; + +$priv_list['page-openvpn-client-export'] = array(); +$priv_list['page-openvpn-client-export']['name'] = "WebCfg - OpenVPN: Client Export Utility"; +$priv_list['page-openvpn-client-export']['descr'] = "Allow access to the OpenVPN: Client Export Utility page."; +$priv_list['page-openvpn-client-export']['match'] = array(); +$priv_list['page-openvpn-client-export']['match'][] = "vpn_openvpn_export.php*"; + +?> |