respawn |
If the process does not exist, start the process. Do not wait for
its termination (continue scanning the /etc/inittab file). Restart the
process when it dies. If the process exists, do nothing and continue scanning
the /etc/inittab file. |
wait |
When the init command enters the run level that matches the
entry's run level, start the process and wait for its termination. All
subsequent reads of the /etc/inittab file while the init command
is in the same run level will cause the init command to ignore this
entry. |
once |
When the init command enters a run level that matches the
entry's run level, start the process, and do not wait for its termination.
When it dies, do not restart the process. When the system enters a new run
level, and the process is still running from a previous run level change, the
program will not be restarted. |
boot |
Process the entry only during system boot, which is when the
init command reads the /etc/inittab file during system startup.
Start the process, do not wait for its termination, and when it dies, do not
restart the process. In order for the instruction to be meaningful, the run
level should be the default or it must match the init command's run
level at boot time. This action is useful for an initialization function
following a hardware reboot of the system. |
bootwait |
Process the entry the first time that the init command goes
from single-user to multi-user state after the system is booted. Start the
process, wait for its termination, and when it dies, do not restart the
process. If the initdefault is 2, run the process right after
boot. |
powerfail |
Execute the process associated with this entry only when the
init command receives a power fail signal (SIGPWR). |
powerwait |
Execute the process associated with this entry only when the
init command receives a power fail signal (SIGTERM), and wait
until it terminates before continuing to process the /etc/inittab
file. |
off |
If the process associated with this entry is currently running,
send the warning signal (SIGTERM), and wait 20 seconds before
terminating the process with the kill signal (SIGKILL). If the process
is not running, ignore this entry. |
ondemand |
Functionally identical to respawn, except this action
applies to the a, b, or c values, not to run levels. |
initdefault |
An entry with this action is only scanned when the init
command is initially invoked. The init command uses this entry, if it
exists, to determine which run level to enter initially. It does this by
taking the highest run level specified in the runlevel field and using
that as its initial state. If the runlevel field is empty, this is
interpreted as 0123456789; therefore, the init command enters run level
9. Additionally, if the init command does not find an
initdefault entry in the /etc/inittab file, it requests an
initial run level from the user at boot time. |
sysinit |
Entries of this type are executed before the init command
tries to access the console before login. It is expected that this entry will
only be used to initialize devices on which the init command might try
to ask the run level question. These entries are executed and waited for
before continuing. |