# /etc/inittab.

# This is run first except when booting in single-user mode.
#
::sysinit:/etc/rc.d/rc.S

# /bin/sh invocations on selected ttys
#
# Start an "askfirst" shell on the console (whatever that may be)
::respawn:-/bin/bash

# Start an "askfirst" shell on /dev/tty2-4
tty2::askfirst:-/bin/bash

# /sbin/getty invocations for selected ttys
#
#tty5::respawn:/sbin/getty 38400 tty5
#tty6::respawn:/sbin/getty 38400 tty6

# Example of how to put a getty on a serial line (for a terminal)
#
#::respawn:/sbin/getty -L ttyS0 9600 vt100
#::respawn:/sbin/getty -L ttyS1 9600 vt100
#
# Example how to put a getty on a modem line.
#::respawn:/sbin/getty 57600 ttyS2

# The magic fingers:
::ctrlaltdel:/sbin/reboot -d 1

# Stuff to do before rebooting
::shutdown:/sbin/swapoff -a &>/dev/null
::shutdown:/bin/sync &>/dev/null
::shutdown:/bin/umount -a -r &>/dev/null
::shutdown:/sbin/vgchange -a n &>/dev/null
