From fd339a3e45efea527e599fb430ccf538103b2369 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 17 Aug 2019 12:13:07 +0200 Subject: openvpn: T1548: add description to generated config file --- src/conf_mode/interface-openvpn.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/conf_mode/interface-openvpn.py b/src/conf_mode/interface-openvpn.py index 67700222c..1988dcdb1 100755 --- a/src/conf_mode/interface-openvpn.py +++ b/src/conf_mode/interface-openvpn.py @@ -44,6 +44,10 @@ config_tmpl = """ # See https://community.openvpn.net/openvpn/wiki/Openvpn24ManPage # for individual keyword definition +{% if description %} +# {{ description }} +{% endif %} + verb 3 status /opt/vyatta/etc/openvpn/status/{{ intf }}.status 30 writepid /var/run/openvpn/{{ intf }}.pid -- cgit v1.2.3