hi,
I want to start my Application automatically when system boot up in OpenBoard-AM3359.
can you tell me exactly
where do i add my new app?
and
how do i define it?
tnx
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
hi,
I want to start my Application automatically when system boot up in OpenBoard-AM3359.
can you tell me exactly
where do i add my new app?
and
how do i define it?
tnx
Hello,
I was looking around for you and came across this:
http://www.element14.com/community/community/raspberry-pi/blog/2012/12/24/autoadvent-raspberry-pi-controlled-led-advent-candles
The guy made a advent candle set up, but he need to run a script at boot. So I thought this might help!
If any more assistance is needed, I'm here to help you!
Have a great day,
Carlton
hi Andrew
i use the EVM Starterkit board, i use psp.04.06.08 for building boot file and
my linux is ubuntu 10.04.
i know must change rc5.d or rcs.d file for starting up new app on linux
but
i dont know how define it !!!!!!!!!!!!!!
tnx
hello ,mammad
follow the steps:
1. enter your root dir
2. enter /etc/rcS.d
3.make a file named SxxNAME, where xx = numbers,like 13 ,14 etc; NAME is a characters set.
4.write' #! /bin/sh 'in the first line ,then write your app start shell command in this file,save it.
5.reboot your system
Now ,your app can auto start once your board starts!
PS. the init-file path may different from the list above deponding on the file system and init method in your system.
It's the same as what you type in your prompt when you starting a app. But should with full path ,I think.
example: /home/root/app_name.o &
please remember to chmod +x to your new init - file.
If my answer meets your question ,please click yes. Thank you.