Installation guide
run level for initdefault is set to 3, which is the multiuser with network
services mode:
is:3:initdefault:
4.1.1.2 Specifying wait Run Levels
The init program looks in the inittab file for the wait entries. In the
previous inittab file example, the following line contains a wait entry:
fs:23:wait:/sbin/bcheckrc < /dev/console > /dev/console 2>&1
In this case, the init program invokes the /sbin/bcheckrc script for the
fs entry. Processes associated with this entry execute at run levels 2 and 3.
Input comes from the system console (/dev/console). System and process
error messages are sent to the console (> /dev/console 2>&1).
The bcheckrc run command script contains procedures associated with file
system checking and mounting. See the /sbin/bcheckrc file for details.
4.1.1.3 Specifying bootwait Run Levels
The init program looks in the inittab file for the bootwait entry. In the
previous inittab file example, the following line contains a bootwait
entry:
kmk:3:bootwait:/sbin/kmknod > /dev/console 2>&1
In this case, the init program invokes the /sbin/kmknod script for the
kmk entry.
4.1.1.4 Specifying Console Run Levels
Before you or anyone else can log in to your system, the getty program for
nonworksystems and the xdm program for worksystems must set up the
process that runs the login and shell programs for each terminal and
workstation, respectively. Because a large portion of your initial work is
done at the system console, the /etc/inittab file contains an entry for
setting up a getty process for the console. The xdm process is started with
a run-level script in the /sbin/rc3.d directory.
In the previous example of the inittab file, the following line contains the
entry for the system console:
cons:1234:respawn:/usr/sbin/getty console console vt100
The init program is instructed to invoke the getty program, which sets
the terminal line attributes for the system console (/dev/console). The
run-level field specifies that the getty process executes at run levels 1, 2,
Customizing the System Environment 4–7