From d51979463178ae4aec2725ab9082322fa0fbe74e Mon Sep 17 00:00:00 2001 From: jow Date: Thu, 27 Nov 2008 22:39:59 +0000 Subject: [PATCH] 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 --- net/openvpn/Makefile | 2 +- net/openvpn/files/openvpn.config | 17 +++++++++++++++-- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/net/openvpn/Makefile b/net/openvpn/Makefile index e3a6f2a63..6a680aed0 100644 --- a/net/openvpn/Makefile +++ b/net/openvpn/Makefile @@ -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 diff --git a/net/openvpn/files/openvpn.config b/net/openvpn/files/openvpn.config index e88f1a099..03e6a5307 100644 --- a/net/openvpn/files/openvpn.config +++ b/net/openvpn/files/openvpn.config @@ -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. # ############################################## -- 2.11.0