summaryrefslogblamecommitdiff
path: root/system/sysvinit/inittab-2.88
blob: f170042cf40112d70e7dcb570510e019f98950d9 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                                       
                                                        




                   
                              

                                



                                                                

                              





                                                                            
                                
                             





                                
                           





                              








                                                 
#
# /etc/inittab:  This file describes how the INIT process should set up
#                the system in a certain run-level.
#
# Author:  Miquel van Smoorenburg, <miquels@cistron.nl>
# Modified by:  Patrick J. Volkerding, <volkerdi@ftp.cdrom.com>
# Modified by:  Daniel Robbins, <drobbins@gentoo.org>
# Modified by:  Martin Schlemmer, <azarah@gentoo.org>
# Modified by:  Mike Frysinger, <vapier@gentoo.org>
# Modified by:  Robin H. Johnson, <robbat2@gentoo.org>
# Modified by:  William Hubbs, <williamh@gentoo.org>
# Modified by:  A. Wilcox, <awilfox@adelielinux.org>
# Modified by:  Laurent Bercot, <ska-adelie@skarnet.org>
#

# Default runlevel.
id:3:initdefault:

# Early system initialization.
si::sysinit:/sbin/openrc sysinit

# Further system initialization.
# The distinction between sysinit and boot is totally arbitrary.
# With the current OpenRC, sysinit does almost nothing and boot
# does almost everything.
rc::bootwait:/sbin/openrc boot

# Start the s6 supervision tree.
s6:12345:respawn:/sbin/s6-svscanboot

# Wait for the supervision tree to be operational before launching services.
s6n:12345:wait:/bin/sh -c 'until test -s /run/s6_ready ; do sleep 1 ; done'

l0:0:wait:/sbin/openrc shutdown 
l0s:0:wait:/sbin/poweroff -df
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
l6:6:wait:/sbin/openrc reboot
l6r:6:wait:/sbin/reboot -df
#z6:6:respawn:/sbin/sulogin

# new-style single-user
su0:S:wait:/sbin/openrc single
su1:S:wait:/sbin/sulogin

# What to do at the "Three Finger Salute".
ca:12345:ctrlaltdel:/sbin/shutdown -r now

# Used by /etc/init.d/xdm to control DM startup.
# Read the comments in /etc/init.d/xdm for more
# info. Do NOT remove, as this will start nothing
# extra at boot if /etc/init.d/xdm is not added
# to the "default" runlevel.
x:a:once:/etc/X11/startDM.sh