increase retry interval a bit so modem doesn't reset too soon

This commit is contained in:
Maarten van Gompel 2021-07-29 23:45:36 +02:00
parent 9870940de4
commit 994f4dc1e1

View file

@ -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