modemmanager: improve cleanup of ifaces
authorOliver Sedlbauer <redacted>
Tue, 17 Oct 2023 15:13:37 +0000 (17:13 +0200)
committerOliver Sedlbauer <redacted>
Mon, 30 Oct 2023 07:53:10 +0000 (08:53 +0100)
commitd78505bcfa3101fab00fcee680b120f5b6b5307e
treee141ca27b147a812a4b3c39fc2550ccbc7db194d
parent91c2be764af86f77ed88aff42f96d5ec155c6d27
modemmanager: improve cleanup of ifaces

Change workflow to cleanup interfaces using the sysfscache.
The sysfscache stores the processed sysfs-paths. Using this
instead of mmcli -L, the interfaces can be properly cleaned
up even if, for example, ModemManager crashes and mmcli is
no longer usable.

Signed-off-by: Oliver Sedlbauer <redacted>
net/modemmanager/Makefile
net/modemmanager/files/modemmanager.common
git clone https://git.99rst.org/PROJECT