eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit 0e13c8d32b34e31b0433ecac2feac6e5ac254357
parent 904238b6ec1fb6e696e43c8c3021aa0c29e39f17
Author: James Prestwood <prestwoj@gmail.com>
Date:   Thu, 25 Feb 2021 14:00:51 -0800

auto-t: hlrauc.py: remove unix socket on cleanup

Diffstat:
Mautotests/util/hlrauc.py | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/autotests/util/hlrauc.py b/autotests/util/hlrauc.py @@ -12,6 +12,7 @@ class AuthCenter: hostapd can communicate with to obtain SIM values. ''' def __init__(self, sock_path, config_file): + self._sock_path = sock_path self._read_config(config_file) self._socket = socket.socket(socket.AF_UNIX, socket.SOCK_DGRAM) if os.path.exists(sock_path): @@ -25,6 +26,10 @@ class AuthCenter: # wait for rx thread to start self._rxhandle.ready.wait() + def __del__(self): + os.remove(self._sock_path) + self._socket.close() + def _rx_thread(self): self._rxhandle.ready.set() while (True):