From e2822c9d80100b1334786f4573f97e3ad581a1f0 Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Wed, 2 Oct 2024 16:39:12 +0200 Subject: [PATCH] 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 --- net/modemmanager/files/usr/sbin/ModemManager-monitor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/modemmanager/files/usr/sbin/ModemManager-monitor b/net/modemmanager/files/usr/sbin/ModemManager-monitor index 8a88ab514b..44fdab5949 100644 --- a/net/modemmanager/files/usr/sbin/ModemManager-monitor +++ b/net/modemmanager/files/usr/sbin/ModemManager-monitor @@ -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 -- 2.30.2