mirror of
https://github.com/openwrt/packages.git
synced 2025-12-24 08:28:20 +04:00
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:
committed by
Robert Marko
parent
f28940dded
commit
e2822c9d80
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user