Hardware Reference
In-Depth Information
Table 3-1. ( continued )
Run Level
Meaning
Notes
4
Multiuser mode
5
Multiuser mode
6
Initiate reboot
Reserved
7
Undocumented
See man 8 init
8
Undocumented
9
Undocumented
/etc/inittab
Once the init process has begun and performed its own initialization, it starts reading
from configuration file /etc/inittab . This small file has a simple format composed of
four fields, separated by colons:
id:runlevels:action:process
Lines beginning with a # are ignored as comments. Table 3-2 describes the four fields.
Table 3-2. /etc/inittab Fields
Field
Name
Description
1
id
A unique 1- to 4-character name for the entry
2
runlevel(s)
Lists the run levels for which the specified action
should be performed
3
action
Describes the action required
4
process
Command-line text for the process
inittab Action initdefault
The /etc/inittab file should have one (and only one) entry, with an action named
initdefault . This identifies what the initial run level should be after booting. The run
level value is taken from the runlevels field of this entry. The Raspbian Linux image uses
the following:
# The default runlevel .
id:2:initdefault:
 
 
Search WWH ::




Custom Search