From 994f4dc1e10a98da566d8ee167dcdb5fcb1196a4 Mon Sep 17 00:00:00 2001 From: Maarten van Gompel Date: Thu, 29 Jul 2021 23:45:36 +0200 Subject: [PATCH] increase retry interval a bit so modem doesn't reset too soon --- scripts/modem/sxmo_modemmonitor.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/modem/sxmo_modemmonitor.sh b/scripts/modem/sxmo_modemmonitor.sh index 98dd6c4..2f4da64 100755 --- a/scripts/modem/sxmo_modemmonitor.sh +++ b/scripts/modem/sxmo_modemmonitor.sh @@ -318,7 +318,7 @@ mainloop() { else TRIES=$((TRIES+1)) echo "sxmo_modemmonitor: modem not found, waiting for modem... (try #$TRIES)">&2 - sleep 2 + sleep 3 if [ "$TRIES" -eq 10 ]; then echo failed > "$MODEMSTATEFILE" echo "sxmo_modemmonitor: forcing modem reset">&2