From 2f63c5abc93fd54645b35658d2b34b3b7435c31b Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 19 Apr 2020 17:38:30 +0200 Subject: Revert "openvpn: T2336: delete auth-user-pass file when interface is unused" This reverts commit 26adfd6d0d03af44a03f327478199f3009f2ad3c. --- src/conf_mode/interfaces-openvpn.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/conf_mode') 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'] -- cgit v1.2.3