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

master
Maarten van Gompel 3 years ago
parent 9870940de4
commit 994f4dc1e1
  1. 2
      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

Loading…
Cancel
Save