mirror of
https://github.com/sixfab/Sixfab_PPP_Installer
synced 2024-11-22 11:04:54 +00:00
jetson sixfab connect on boot
This commit is contained in:
parent
95af3d1371
commit
b81b3e676d
@ -13,6 +13,7 @@ StandardOutput=inherit
|
||||
StandardError=inherit
|
||||
RemainAfterExit=true
|
||||
Restart=on-failure
|
||||
RestartSec=5s
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
@ -4,9 +4,18 @@ source functions.sh
|
||||
|
||||
for i in {1..4}; do
|
||||
bash jetson_configure_modem.sh
|
||||
WAS_SUCCESSFUL=$?
|
||||
|
||||
|
||||
if [[ $WAS_SUCCESSFUL -eq 0 ]]; then
|
||||
debug "Jetson configure modem successful"
|
||||
else
|
||||
debug "Jetson configure modem failed: Exit code = $WAS_SUCCESSFUL"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [[ $MODEM_CONFIG -eq 0 ]]; then
|
||||
break
|
||||
fi
|
||||
sleep 1
|
||||
done
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user