I have following scenario. I cloned Raspcontrol via git, and the repo is now located in /home/pi. Using ls
, I can see the Raspcontrol folder. Inside, there's a start.sh for it to run. I decided to make it run on startup, and I came across this article in
https://stackoverflow.com/questions/7221757/run-automatically-program-on-startup-under-linux-ubuntu
So, here's my question:
- Should I just put replace filename with start.sh, and run those commands?
- What is update-rc.d?
- If I don't want to change the structure of Raspcontrol (not moving start.sh), what are the other ways to achieve the same thing?
PS: I'm not sure which tag should be used, please edit it if you find it appropriate.