Open main menu

DAVE Developer's Wiki β

Changes

Embedded Linux

357 bytes added, 07:03, 30 June 2016
Q: How to run automatically run applications on startup?
==FAQs==
=== Q: How to run automatically run applications on startup? ===
'''A''': In GNU/Generally speaking, several initialization systems are available on Linux platforms. By default, reference root file systemsprovided by DAVE Embedded Systems make use of ''System V init'' scripts. As such, user space application/services are automatically launched at boot time by the <code>Init</code> process (http://en.wikipedia.org/wiki/Init).
<code>Init</code> is configured customizing the <code>/etc/inittab</code> file and all the related scripts/links contained in the <code>/etc/init.d</code> and <code>/etc/rc*.d</code> directories. The system starts with a default runlevel (es: 5) and launches all the scripts contained in <code>/etc/rcX.d/</code> (with X matching the runlevel), which are symbolic links to the scripts stored in <code>/etc/init.d</code>.
*http://www.linux-tutorial.info/modules.php?name=ManPage&sec=7&manpage=init.d
*http://www.yolinux.com/TUTORIALS/LinuxTutorialInitProcess.html.
 
It is worth remembering that if Yocto build system is used to generate the root file system, different initialization schemes may be chosen, such as <code>systemd</code>.
4,650
edits