summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/conf_mode/interface-openvpn.py4
1 files changed, 4 insertions, 0 deletions
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