
Arcom Embedded Linux Technical Manual Configuring AEL
System startup scripts
AEL uses a System V type init process. Scripts are placed in /etc/init.d/, with symbolic
links for each runlevel in etc/rc?.d/.
? may be any of the following characters:
Character Function Description
S Startup Run at boot time prior to running the scripts for the
desired runlevel 1-5.
0 Halt Run on system shutdown.
1 Single Run on entering single user mode.
2 Normal Serial login only.
3 Normal Serial and Display login.
4 Normal Display login only.
5 Normal Display login only.
6 Reboot Run before rebooting.
The default runlevel is level 3 for targets with graphics hardware, and level 2 for
others.
When the runlevel changes, the K* scripts in the /etc/rc?.d/ folder corresponding to the
new runlevel are executed in alphanumerical order (with an argument of stop). The S*
scripts in the same folder are then executed in alphanumerical order (with an argument
of start).
You can start or stop a service manually by calling the script in /etc/init.d with a
parameter of either start, stop or restart.
Calling the script with no parameters normally displays a complete list of the
possible actions.
On some boards, the framebuffer driver is built as a module, and so the display
login is not displayed until the framebuffer driver has been loaded. Refer to the
QuickStart manual for your hardware. In addition, the framebuffer console driver
fbcon may need to be loaded. See Configuring and loading kernel modules
on
page 21
for information about loading kernel modules and causing them to load
automatically on boot.
© 2006 Arcom Issue G 16
Comentários a estes Manuais