
phyCARD-M
Quick Start Instructions
3.6
Automatically starting the Program when booting the Target
In this passage you will integrate the
myHelloWord
program into the
startup process of the target. When you have finished this part, the
myHelloWorld
application will be started automatically each time you are
starting the target.
The scripts for controlling the system startup will be found in
/etc/init.d
. These are executed directly or indirectly by
/sbin/init
, the father of all processes. The configuration of
/sbin/init
is placed in
/etc/inittab
.
After system startup,
/sbin/init
will switch to the default run
level, as configured in
/etc/inittab
. It calls the run level master
script
/etc/init.d/rcS
to start or stop services provided by the
other scripts in
/etc/init.d
. This is done by the help of symbolic
links in the directory
/etc/rc.d.
These links point to the actual
startup scripts in
/etc/init.d.
First you will have to create a startup script in
/etc/init.d.
•
Click the
FTP for Target
icon on your KDE desktop.
74
© 2010 PHYTEC Messtechnik GmbH L-746e_1