Last active
September 12, 2021 12:46
-
-
Save SymphonySimper/e95ab611b5b1089afc1c4202306586a8 to your computer and use it in GitHub Desktop.
/etc/inittab
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# /etc/inittab: This file describes how the INIT process should set up | |
# the system in a certain run-level. | |
# | |
# Author: Miquel van Smoorenburg, <[email protected]> | |
# Modified by: Patrick J. Volkerding, <[email protected]> | |
# Modified by: Daniel Robbins, <[email protected]> | |
# Modified by: Martin Schlemmer, <[email protected]> | |
# Modified by: Mike Frysinger, <[email protected]> | |
# Modified by: Robin H. Johnson, <[email protected]> | |
# Modified by: William Hubbs, <[email protected]> | |
# Modified by: Lars Wendler, <[email protected]> | |
# Modified by: Aisha Tammy, <[email protected]> | |
# | |
# Default runlevel. | |
id:3:initdefault: | |
# System initialization, mount local filesystems, etc. | |
si::sysinit:/sbin/openrc sysinit | |
# Further system initialization, brings up the boot runlevel. | |
rc::bootwait:/sbin/openrc boot | |
l0u:0:wait:/sbin/telinit u | |
l0:0:wait:/sbin/openrc shutdown | |
l0s:0:wait:/sbin/halt.sh | |
l1:1:wait:/sbin/openrc single | |
l2:2:wait:/sbin/openrc nonetwork | |
l3:3:wait:/sbin/openrc default | |
l4:4:wait:/sbin/openrc default | |
l5:5:wait:/sbin/openrc default | |
l6u:6:wait:/sbin/telinit u | |
l6:6:wait:/sbin/openrc reboot | |
l6r:6:wait:/sbin/reboot -dkn | |
#z6:6:respawn:/sbin/sulogin | |
# new-style single-user | |
su0:S:wait:/sbin/openrc single | |
su1:S:wait:/sbin/sulogin | |
# TERMINALS | |
#x1:12345:respawn:/sbin/agetty 38400 console linux | |
c1:12345:respawn:/sbin/agetty -n -o s2b 38400 tty1 linux | |
c2:2345:respawn:/sbin/agetty 38400 tty2 linux | |
c3:2345:respawn:/sbin/agetty 38400 tty3 linux | |
c4:2345:respawn:/sbin/agetty 38400 tty4 linux | |
c5:2345:respawn:/sbin/agetty 38400 tty5 linux | |
c6:2345:respawn:/sbin/agetty 38400 tty6 linux | |
# SERIAL CONSOLES | |
#s0:12345:respawn:/sbin/agetty -L 115200 ttyS0 vt100 | |
#s1:12345:respawn:/sbin/agetty -L 115200 ttyS1 vt100 | |
# What to do at the "Three Finger Salute". | |
ca:12345:ctrlaltdel:/sbin/shutdown -r now | |
# Used by /etc/init.d/display-manager to control DM startup. | |
# Read the comments in /etc/init.d/display-manager for more | |
# info. Do NOT remove, as this will start nothing | |
# extra at boot if /etc/init.d/display-manager is not added | |
# to the "default" runlevel. | |
x:a:once:/usr/bin/startDM |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment