modemmanager: extend log message with count on boot

This makes debugging at system startup easier and shows how long we are
waiting for the ModemManager to start.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
Florian Eckert
2024-10-02 16:39:12 +02:00
committed by Robert Marko
parent f28940dded
commit e2822c9d80

View File

@@ -127,7 +127,7 @@ main() {
mm_log "info" "Checking if ModemManager is available..."
if ! /usr/bin/mmcli -L >/dev/null 2>&1; then
mm_log "info" "ModemManager not yet available"
mm_log "info" "ModemManager not yet available (count=${n})"
else
mmrunning=1
break