I like using crontab. use "crontab -e" to edit the cron file and insert a line with something like:
@reboot pathToMyScript jay On Wednesday, April 23, 2014 11:07:32 PM UTC-7, kenji maehara wrote: > > Hi, > > I made TCP client program for Beaglebone Black on Angstrom Linux. > I would like to execute a program automatically,when power supply at ON > for connection to server. > > > > I put the execute file here. > /home/a.out > > > I made a file called myScript.sh on this pass. > /etc/init.d/myScript.sh > > It is contents of file myScript.sh > #!/bin/bash > /home/a.out > > > I executed the following command for file myScript.sh. > chmod u=+rwx myScript.sh > > > Next, in /etc/rc5.d folder、I executed the command. > ln -s ../init.d/myScript.sh S99myScript > > > I thought that it can start in this automatically, > > but I can't. > > > I refer to these contents. > https://groups.google.com/forum/#!topic/beagleboard/6GmHGPgnY84 > > > Would you tell me any your advice thing or solution? > > > thanks. > > > > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.