![Phytec Linux-Kit phyCARD-M Скачать руководство пользователя страница 81](http://html1.mh-extra.com/html/phytec/linux-kit-phycard-m/linux-kit-phycard-m_quick-start-instructions_1554142081.webp)
phyCARD-M
Getting More Involved
•
Enter
root
and press
Enter
to login.
•
The startup script we have just created with KWrite must be made
executable in order to run it later:
chmod a+x /etc/init.d/myHelloWorld
•
Change to the directory
/etc/rc.d
. Type the following command:
cd /etc/rc.d
•
Enter
ls -l
to list the directory content.
You can see the different links to the scripts in the directory
/etc/init.d
.
The scripts are started in alphabetic order: The script
udev
is the first
script started, because the link starts with
S00…
, whereas
S99zzz_PHYTEC_BSP_version_startup_script
will be started last.
To start your
myHelloWorld
application automatically when the
system boots, you have to create a new link to the start script
/etc/init.d/myHelloWorld.
•
In
/etc/rc.d,
create a symbolic link which points to
/etc/init.d/myHelloWorld.
Enter the following command:
ln -s ../init.d/myHelloWorld S99myHelloWorld
•
Type
ls -l
again to check the newly created link.
© 2010 PHYTEC Messtechnik GmbH L-746e_1
77
Содержание Linux-Kit phyCARD-M
Страница 27: ...phyCARD M Getting Started Click Next to continue Click Next 2010 PHYTEC Messtechnik GmbH L 746e_1 23...
Страница 76: ...phyCARD M Quick Start Instructions Select Program Select New 72 2010 PHYTEC Messtechnik GmbH L 746e_1...
Страница 110: ...Published by 2010 PHYTEC Messtechnik GmbH Ordering No L 746e_1 Printed in Germany...