mirror of
https://github.com/sixfab/Sixfab_PPP_Installer
synced 2024-10-06 20:56:38 +00:00
21 lines
380 B
Bash
21 lines
380 B
Bash
#!/bin/bash
|
|
|
|
source functions.sh
|
|
|
|
for i in {1..4}; do
|
|
bash jetson_configure_modem.sh
|
|
|
|
if [[ $MODEM_CONFIG -eq 0 ]]; then
|
|
break
|
|
fi
|
|
sleep 1
|
|
done
|
|
|
|
if [[ $MODEM_CONFIG -eq 0 ]]; then
|
|
bash ppp_reconnect.sh
|
|
else
|
|
debug "Modem configuration is failed multiple times!"
|
|
debug "Checkout other troubleshooting steps on docs.sixfab.com."
|
|
exit 1
|
|
fi
|