I'm trying to take photos automatically on boot of my Pi. I've created a shell script which is essentially a timelapse (I didn't use the native version as it doesn't allow you to record the timestamp of the photo). I've tested running this script and it works fine.
To get the script to run on boot, I added it to the /etc/rc.local file. I ran the rc.local file manually and it works fine.
However, when I boot up my Pi the camera board seems to fire up (the led turns on) but no photos are recorded. I've tried adding a 60 second delay to /etc/rc.local so that the system is fully booted up but to no avail. Any ideas?