packages/net/openvpn: add uci example for custom config files
git-svn-id: svn://svn.openwrt.org/openwrt/packages@13386 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
2854fa3c40
commit
d519794631
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=openvpn
|
||||
PKG_VERSION:=2.0.9
|
||||
PKG_RELEASE:=3
|
||||
PKG_RELEASE:=4
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://openvpn.net/release @SF/openvpn
|
||||
|
@ -1,7 +1,20 @@
|
||||
package openvpn
|
||||
|
||||
#################################################
|
||||
# Sample OpenVPN 2.0 config file for #
|
||||
# Sample to include a custom config file. #
|
||||
#################################################
|
||||
|
||||
config openvpn custom_config
|
||||
|
||||
# Set to 1 to enable this instance:
|
||||
option enable 0
|
||||
|
||||
# Include OpenVPN configuration
|
||||
option config /etc/openvpn/my-vpn.conf
|
||||
|
||||
|
||||
#################################################
|
||||
# Sample OpenVPN 2.0 uci config for #
|
||||
# multi-client server. #
|
||||
#################################################
|
||||
|
||||
@ -272,7 +285,7 @@ config openvpn sample_server
|
||||
|
||||
|
||||
##############################################
|
||||
# Sample client-side OpenVPN 2.0 config file #
|
||||
# Sample client-side OpenVPN 2.0 uci config #
|
||||
# for connecting to multi-client server. #
|
||||
##############################################
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user