Retry for 10 minutes on reboot
Wait for network before running reboot script
Move all env setup into local script
Folder structure
Make sure the raspberrypi camera is connected and working.
rpi/
to check this automatically.raspistill -o image.jpg
.Set environment variables on the pi.
bin/push-env.sh
. You might have to tweak it. Otherwise, just copy the env vars reference in that script to the rpi manually.