eiwd

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

commit 71ac0a89098c72ec7b78cc8ef238bef23227a392
parent 1efbe1637fbc62e147759c3a637c8eb85cb7bcd8
Author: James Prestwood <prestwoj@gmail.com>
Date:   Tue, 26 Jul 2022 10:09:12 -0700

test-runner: make developer mode optional

IWD can now be started without -E if needed

Diffstat:
Mtools/utils.py | 8++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/tools/utils.py b/tools/utils.py @@ -411,7 +411,8 @@ class Namespace: self._bus = dbus.bus.BusConnection(address_or_type=self.dbus_address) - def start_iwd(self, config_dir = '/tmp', storage_dir = '/tmp/iwd'): + def start_iwd(self, config_dir = '/tmp', storage_dir = '/tmp/iwd', + developer_mode = True): args = [] iwd_radios = ','.join([r.name for r in self.radios if r.use == 'iwd']) @@ -420,7 +421,10 @@ class Namespace: '--show-leak-kinds=all', '--log-file=/tmp/valgrind.log.%p']) - args.extend(['iwd', '-E']) + args.append('iwd') + + if developer_mode: + args.append('-E') if iwd_radios != '': args.extend(['-p', iwd_radios])