This question already has an answer here:
- Execute script on start-up 12 answers
I've bee reading about running scripts at startup since last weak with no results. I just need to run an application located on my home (/home/pi) at startup (unattended). I tried creating a script at /etc/init.d/, /etc/rc.local, etc. Nothing seems to work.
It only works when run on the console (logged in), but I'd like to make it run every time the system boots and it even respawns when it crashes.
$ uname -a Linux soldaraspi 3.10.25+ #622 PREEMPT Fri Jan 3 18:41:00 GMT 2014 armv6l GNU/Linux