When using a shell script in /etc/init.d to start up a command, make sure you put the shell script there, and not the compiled program.

It didn’t work anyhow, so I’m calling it as a cron job on reboot, but I’m pretty sure the point still stands.

ETA: Aaah. So, there are things called runlevels, and Rasbian is based on Debian, which has them. I’m more a systemd person, so I was looking at the wrong sort of help file.

Leave a Reply

Your email address will not be published. Required fields are marked *