LJ Archive

/etc/inittab Sample

# Boot-time system configuration/initialization script.
::sysinit:/etc/rc.d/rc.S

# Start a shell on the console
::respawn:-/bin/sh

# It is always good to have at least another console
vc/2::askfirst:-/bin/sh

# Reboot when ctrl-alt-del keys are pressed.
::ctrlaltdel:/sbin/reboot

# Stuff to do before halting or rebooting.
::shutdown:/sbin/swapoff -a >/dev/null 2>&1
::shutdown:/bin/umount -a -r >/dev/null 2>&1
LJ Archive