modemmanager: move iface cleanup to wrapper script
authorOliver Sedlbauer <redacted>
Mon, 23 Oct 2023 15:52:38 +0000 (17:52 +0200)
committerOliver Sedlbauer <redacted>
Mon, 30 Oct 2023 07:53:29 +0000 (08:53 +0100)
commit074741e343b059b560194f3afb25bfe505a0f3a2
tree6f8f847e14f59a676175314ca2809d8528727d6e
parentd78505bcfa3101fab00fcee680b120f5b6b5307e
modemmanager: move iface cleanup to wrapper script

If the ModemManager process crashes, the interfaces are not cleaned
up properly because the stop_service method is not called. With this
change, the interfaces are cleaned up both when stopping the service
and during a crash. Therefore it is no longer necessary to perform a
cleanup at the beginning.

Signed-off-by: Oliver Sedlbauer <redacted>
net/modemmanager/Makefile
net/modemmanager/files/modemmanager.init
net/modemmanager/files/usr/sbin/ModemManager-wrapper
git clone https://git.99rst.org/PROJECT