modemmanager: fix pending mmcli calls for ModemManager-monitor script
authorFlorian Eckert <[email protected]>
Tue, 4 Mar 2025 09:22:41 +0000 (10:22 +0100)
committerFlorian Eckert <[email protected]>
Tue, 1 Apr 2025 08:08:27 +0000 (10:08 +0200)
commit6c8ad9f02bcd2f9122ccda44735565f547ac9077
treed7e03e6370e3d0f432bd61c56e70eba314dde245
parent5c203c36d5e74fc0d6af6d03fbe43115b9e4ba91
modemmanager: fix pending mmcli calls for ModemManager-monitor script

If the ModemManager is stopped via '/etc/init.d/modemmanager', mmcli calls
always remain in the process list. This is because the ModemManager-monitor
call is not terminated properly, as the kill signals are not handled
correctly in the startup script for mmcli.

To fix this, the signal handling is refactored.

Signed-off-by: Florian Eckert <[email protected]>
net/modemmanager/Makefile
net/modemmanager/files/usr/sbin/ModemManager-monitor