diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-04-19 17:38:30 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-04-19 17:38:30 +0200 |
commit | 2f63c5abc93fd54645b35658d2b34b3b7435c31b (patch) | |
tree | 48b28c612b1880a845e5d558fbeac84cccbedb27 /src/conf_mode/interfaces-openvpn.py | |
parent | 26adfd6d0d03af44a03f327478199f3009f2ad3c (diff) | |
download | vyos-1x-2f63c5abc93fd54645b35658d2b34b3b7435c31b.tar.gz vyos-1x-2f63c5abc93fd54645b35658d2b34b3b7435c31b.zip |
Revert "openvpn: T2336: delete auth-user-pass file when interface is unused"
This reverts commit 26adfd6d0d03af44a03f327478199f3009f2ad3c.
Diffstat (limited to 'src/conf_mode/interfaces-openvpn.py')
-rwxr-xr-x | src/conf_mode/interfaces-openvpn.py | 4 |
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'] |