~mil/sxmo-utils

994f4dc1e10a98da566d8ee167dcdb5fcb1196a4 — Maarten van Gompel 2 months ago 9870940
increase retry interval a bit so modem doesn't reset too soon
1 files changed, 1 insertions(+), 1 deletions(-)

M scripts/modem/sxmo_modemmonitor.sh
M scripts/modem/sxmo_modemmonitor.sh => scripts/modem/sxmo_modemmonitor.sh +1 -1
@@ 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