# Possible [minor] issue with voxl-modem-start.sh...

Source: https://forum.modalai.com/topic/1365/possible-minor-issue-with-voxl-modem-start-sh
Category: General Questions (https://forum.modalai.com/category/2/general-questions)
Posted: 2022-09-21 14:52:26 UTC by Ed Sutter
Replies: 1 · Views: 489

## Ed Sutter · 2022-09-21 14:52:26 UTC

Hi,
I am working on getting a USB-LTE modem working on Voxl1 Flight Deck, and noticed what I think is a very minor issue with the voxl-modem-start.sh script...

Near the bottom of the script it appears that for V1, V2 and quectel modems, the script goes into an endless loop waiting for a successful return of a modem-specific script.  Using V2 as the example (note I inserted fake line numbers for reference)...
```
001:  # Loop forever trying to get the cellular link up.
002: echo "forever loop..." >>/tmp/foo
003: echo -e "\nInitalizing cellular connection..."
004: rc=1
005: while [ $rc -ne 0 ]; do
006:     sierra.py
007:     rc=$?
008:     if [[ $rc -eq 0 ]]; then
009:         exit $rc
010:     fi
011:     sleep 1
012: done
013: echo -e "\nCellular connection complete."
```
Shouldn't line 013 actually be inserted betwen 008 and 009?

## Reply by tom (ModalAI staff) · 2022-09-21 17:06:08 UTC

@Ed-Sutter Good catch, does look like that print statement is never reached, I'll move it to the correct location to avoid future confusion.
