Sixfab_PPP_Installer/src/jetson_ppp_connection_manager.sh
2021-05-05 11:37:38 +02:00

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