Sixfab_PPP_Installer/src/jetson_ppp_connection_manager.sh

21 lines
380 B
Bash
Raw Normal View History

2021-05-05 09:37:38 +00:00
#!/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