From ac5a5cd7e60da8f32e514cf6d3c547669e5e5792 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 27 Nov 2008 22:39:59 +0000 Subject: [PATCH] packages/net/openvpn: add uci example for custom config files SVN-Revision: 13386 --- 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 e3a6f2a633..6a680aed08 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 e88f1a0991..03e6a53070 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.30.2