increase retry interval a bit so modem doesn't reset too soon
This commit is contained in:
parent
9870940de4
commit
994f4dc1e1
1 changed files with 1 additions and 1 deletions
|
@ -318,7 +318,7 @@ mainloop() {
|
||||||
else
|
else
|
||||||
TRIES=$((TRIES+1))
|
TRIES=$((TRIES+1))
|
||||||
echo "sxmo_modemmonitor: modem not found, waiting for modem... (try #$TRIES)">&2
|
echo "sxmo_modemmonitor: modem not found, waiting for modem... (try #$TRIES)">&2
|
||||||
sleep 2
|
sleep 3
|
||||||
if [ "$TRIES" -eq 10 ]; then
|
if [ "$TRIES" -eq 10 ]; then
|
||||||
echo failed > "$MODEMSTATEFILE"
|
echo failed > "$MODEMSTATEFILE"
|
||||||
echo "sxmo_modemmonitor: forcing modem reset">&2
|
echo "sxmo_modemmonitor: forcing modem reset">&2
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue