inittab
· 592 B · Text
Исходник
# /etc/inittab
::sysinit:/sbin/openrc sysinit
::sysinit:/sbin/openrc boot
::wait:/sbin/openrc default
# Set up a couple of getty's
tty1::respawn:/sbin/agetty tty1 linux
tty2::respawn:/sbin/agetty --autologin opengist tty2 linux
tty3::respawn:/sbin/getty 38400 tty3
tty4::respawn:/sbin/getty 38400 tty4
tty5::respawn:/sbin/getty 38400 tty5
tty6::respawn:/sbin/getty 38400 tty6
# Put a getty on the serial port
#ttyS0::respawn:/sbin/getty -L 115200 ttyS0 vt100
# Stuff to do for the 3-finger salute
::ctrlaltdel:/sbin/reboot
# Stuff to do before rebooting
::shutdown:/sbin/openrc shutdown
| 1 | # /etc/inittab |
| 2 | |
| 3 | ::sysinit:/sbin/openrc sysinit |
| 4 | ::sysinit:/sbin/openrc boot |
| 5 | ::wait:/sbin/openrc default |
| 6 | |
| 7 | # Set up a couple of getty's |
| 8 | tty1::respawn:/sbin/agetty tty1 linux |
| 9 | tty2::respawn:/sbin/agetty --autologin opengist tty2 linux |
| 10 | tty3::respawn:/sbin/getty 38400 tty3 |
| 11 | tty4::respawn:/sbin/getty 38400 tty4 |
| 12 | tty5::respawn:/sbin/getty 38400 tty5 |
| 13 | tty6::respawn:/sbin/getty 38400 tty6 |
| 14 | |
| 15 | # Put a getty on the serial port |
| 16 | #ttyS0::respawn:/sbin/getty -L 115200 ttyS0 vt100 |
| 17 | |
| 18 | # Stuff to do for the 3-finger salute |
| 19 | ::ctrlaltdel:/sbin/reboot |
| 20 | |
| 21 | # Stuff to do before rebooting |
| 22 | ::shutdown:/sbin/openrc shutdown |
| 23 |