Running a Script at Boot-up on a Beaglebone

Hi all,

I'm trying to run a script at boot-up on a beaglebone. Information about the system running Debian.

The script is saved in rc.local and sh's to a script at the "top level" (sorry if my terminology is incorrect, here's the path: root@beaglebone:/# ). The methods I've tried so far are summarized here:

LINK, response by Radu Rădeanu

LINK, response by shvahabi

Does anyone know how I can make a script run at boot-up or what I may be doing wrong?

I've also seen cron and crontab methods. Have those worked for anyone?

Thanks!

Posted Mar 4, 2016, 10:16 PM UTC · edited

11
r3dk0w•

What is the name of the script and what path is it in?

/etc/rc.local should be a text file that is run during boot.

root@beaglebone:/# is not a path. Path can be determined by running "pwd" in the directory where the script is located.

1