blob: f170b8b5586ebbb7844cfa7e3ed6acfd28c99328 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# /etc/inittab
::sysinit:/etc/init.d/rcS
::wait:/etc/init.d/rcL
# Set up a couple of getty's
tty1::respawn:/sbin/getty 38400 tty1
tty2::respawn:/sbin/getty 38400 tty2
tty3::respawn:/sbin/getty 38400 tty3
tty4::respawn:/sbin/getty 38400 tty4
# Put a getty on the serial port
# You need to include this file in the initramfs image to activate it
#ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100
# Stuff to do for the 3-finger salute
::ctrlaltdel:/sbin/reboot
# Stuff to do before rebooting
::shutdown:/etc/init.d/rcK
null::shutdown:/bin/umount -a -r 2>/dev/null
null::shutdown:/sbin/swapoff -a 2>/dev/null
|