[beagleboard] Re: I would like to execute a program automatically,when power supply at ON.

2014-04-28 Thread jay . longson
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

[beagleboard] Re: I would like to execute a program automatically,when power supply at ON.

2014-04-25 Thread Uonsong Ly
Hello Anthony, it looks like that this method only works if I boot up and ssh to the BBB OS. Do you know of a method that would allow a program to execute once there is power through the BBB (with 5V port not the USB)? I have been trying to figure this out for a while now. I would really

Re: [beagleboard] Re: I would like to execute a program automatically,when power supply at ON.

2014-04-25 Thread William Hermans
If you're using Debian Wheezy, the instructions below are taken from my blog and work. More information here: https://wiki.debian.org/LSBInitScripts Create some file, and edit it accordingly. In my case *test* *touch /etc/init.d/test nano /etc/init.d/test * And in the file we put . . . *#!

Re: [beagleboard] Re: I would like to execute a program automatically,when power supply at ON.

2014-04-25 Thread William Hermans
NOTE this method knows nothing about when your board has power applied. This service*will* however start every time Debian is booted up. Even from a soft boot / restart. On Fri, Apr 25, 2014 at 10:02 AM, William Hermans yyrk...@gmail.com wrote: If you're using Debian Wheezy, the instructions

[beagleboard] Re: I would like to execute a program automatically,when power supply at ON.

2014-04-24 Thread covers911
Hi, You can put myScript.sh into the /etc/profile.d directory and your script will be executed on startup. Obviously there's several ways to do this, but that's cheap and cheerful. Regards, Anthony On Thursday, 24 April 2014 07:07:32 UTC+1, kenji maehara wrote: Hi, I made TCP client

[beagleboard] Re: I would like to execute a program automatically,when power supply at ON.

2014-04-24 Thread kenji maehara
Hi Anthony, Thank you for your reply. I was able to do it. Thank you so much. Kenji Maehara 2014年4月24日木曜日 21時01分36秒 UTC+9 cove...@gmail.com: Hi, You can put myScript.sh into the /etc/profile.d directory and your script will be executed on startup. Obviously there's several ways to