j.
> -- To join: http://beagleboard.org/discuss
> To unsubscribe from this group, send email to:
> beagleboard...@googlegroups.com
> Frequently asked questions: http://beagleboard.org/faq
--
Given a choice between two theories, take the one which is funnier
Angstrom doesn't use SysV-style startup scripts anymore. It has been
replaced with systemd. You need to create service descriptor for your
program. Here is a short tutorial how to create such descriptor on F16
(should also work on angstrom):
http://kezhong.wordpress.com/2011/11/19/creating-my-own-systemd-service-files-on-fedora-16x86_64/j.
On Mon, Apr 9, 2012 at 22:37, nuno wrote:
> Folks,
> I can't seem to figure out this. I have a pre-compiled C program that I use
> to run some simulations. I would like to run that command whenever the
> BeagleBone (linux) boots.
> I've done this a million times on ubuntu but for some odd reason I am having
> a hell of a time getting it to run on my board.
>
> My normal approach is:
> 1) to go to the /etc/init.d directory and create a text file in there (e.g
> myScript.sh)
> 2) edit the script to something like
> #!/bin/bash
> /home/root/myProgram &
> 3) leave the script and add execution rights to it (e.g. chmod u=+rwx
> myScript.sh)
> 4) go to /etc/rc5.d and add a symbolic link to my script in there
> ln -s ../init.d/myScript.sh S99myScript
>
> This just doesn't seem to work. Any ideas?
> Also, how do I know what is the current runlevel since there is no inittab
> on the angstrom distribution.
>
> Thank you all for your help!
>
> -- To join: http://beagleboard.org/discuss
> To unsubscribe from this group, send email to:
> Frequently asked questions: http://beagleboard.org/faq
> Frequently asked questions: http://beagleboard.org/faq