summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-19 17:38:30 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-19 17:38:30 +0200
commit2f63c5abc93fd54645b35658d2b34b3b7435c31b (patch)
tree48b28c612b1880a845e5d558fbeac84cccbedb27
parent26adfd6d0d03af44a03f327478199f3009f2ad3c (diff)
downloadvyos-1x-2f63c5abc93fd54645b35658d2b34b3b7435c31b.tar.gz
vyos-1x-2f63c5abc93fd54645b35658d2b34b3b7435c31b.zip
Revert "openvpn: T2336: delete auth-user-pass file when interface is unused"
This reverts commit 26adfd6d0d03af44a03f327478199f3009f2ad3c.
-rwxr-xr-xsrc/conf_mode/interfaces-openvpn.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/conf_mode/interfaces-openvpn.py b/src/conf_mode/interfaces-openvpn.py
index e4360ce56..c1c108aa5 100755
--- a/src/conf_mode/interfaces-openvpn.py
+++ b/src/conf_mode/interfaces-openvpn.py
@@ -919,10 +919,6 @@ def verify(openvpn):
def generate(openvpn):
if openvpn['deleted'] or openvpn['disable']:
- # delete old auth file if present
- if os.path.isfile(openvpn['auth_user_pass_file']):
- os.remove(openvpn['auth_user_pass_file'])
-
return None
interface = openvpn['intf']