|
Configuration File
/etc/inittab
|
|
Configuration Syntax
id:2:initdefault:
id - A unique indentifier 2 - The applicable runlevel number initdefault - The action that init should take (optional) A command to execute |
|
Configuration Directories
/etc/init.d/
/etc/rc$.d/ |
|
wait
|
Determine when and how System V init runs the command
|
|
respawn
|
Run the command that follows and, if the command finishes executing, to run it again
|
|
ctrlaltdel
|
Controls what the system does when you press CTRL + ALT + DEL
|
|
sysinit
|
Run this action except when in emergency mode
|
|
initdefault
|
This is the default action
|
|
0
|
Halt
|
|
1
|
Single-user text mode
|
|
2
|
Not used (user-definable)
|
|
3
|
Full multi-user text mode
|
|
4
|
Not used (user-definable)
|
|
5
|
Full multi-user graphical mode (with an X-based login screen)
|
|
6
|
Reboot
|
|
telinit 3
|
Switch to runlevel 3
|
|
telinit q
|
Reload inittab file
|
|
telinit s
|
Switch to single-user mode
|
No comments yet.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.