Action |
A 20-character parameter that informs the init command how to process the Command parameter you specify. The init command recognizes the following actions:
- respawn
- If the process identified in this record does not exist, start the process. If the process currently exists, do nothing and continue scanning the /etc/inittab file.
- wait
- When the init command enters the run level specified for this record, start the process and wait for it to stop. While the init command is in the same run level, all subsequent reads of the /etc/inittab file ignore this object. If you are operating in a diskless environment, specifying the wait action causes your system to boot more quickly.
- once
- When the init command enters the run level specified for this record, start the process, do not wait for it to stop, and when it does stop, do not restart the process. If the system enters a new run level while the process is running, the process is not restarted.
- boot
- Read this record only when the system boots and reads the /etc/inittab file. The init command starts the process. Do not wait for the process to stop, and when it does stop, do not restart the process. The run level for this process should be the default, or it must match the run level specified by the init command at startup time.
- bootwait
- Read this record only when the system boots and reads the /etc/inittab file. The init command starts the process. Wait for it to stop, and when it does stop, do not restart the process.
- powerfail
- Start the process identified in this record only when the init command receives a SIGPWR power fail signal.
- powerwait
- Start the process identified in this record only when the init command receives a SIGPWR power fail signal, and wait until it stops before continuing to process the /etc/inittab file.
- off
- If the process identified in this record is currently running, send the warning signal SIGTERM and wait 20 seconds before sending the SIGKILL kill signal. If the process is nonexistent, ignore this line.
- hold
- When the process identified in this record is terminated, do not start a new one. The hold action can only be activated by the phold command.
- ondemand
- Functionally identical to respawn. If the process identified in this record does not exist, start the process. If the process currently exists, do nothing and continue scanning the /etc/inittab file. Specify this action to perform the respawn action when using a, b, or c run levels.
- initdefault
- Start the process identified in this record only when the init command is originally invoked. The init command uses this line to determine which run level to originally enter. It does this by taking the highest run level specified in the RunLevel field and using that as its initial state. If the RunLevel parameter is empty, this is interpreted as 0123456789, and the init command enters a run level of 9. If the init command does not find an initdefault line in the /etc/inittab file, it requests an initial run level from the operator at initial program load (IPL) time.
- sysinit
- Start the process identified in this record before the init command tries to access the console. For example, you might use this to initialize devices.
|