aboutsummaryrefslogtreecommitdiffstats
path: root/inittab
blob: 4a9f63ba183fd2ddcd97fe0522f4fa8a622e0fd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#
# inittab       This file describes how the INIT process should set up
#               the system in a certain run-level.
#
# Author:       Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org>
#               Modified for RHS Linux by Marc Ewing and Donnie Barnes
#

# Default runlevel. The runlevels used by RHS are:
#   0 - halt (Do NOT set initdefault to this)
#   1 - Single user mode
#   2 - Multiuser, without NFS (The same as 3, if you do not have networking)
#   3 - Full multiuser mode
#   4 - unused
#   5 - X11
#   6 - reboot (Do NOT set initdefault to this)
# 
id:3:initdefault:

# System initialization.
si::sysinit:/etc/rc.d/rc.sysinit

l0:0:wait:/etc/rc.d/rc 0
l1:1:wait:/etc/rc.d/rc 1
l2:2:wait:/etc/rc.d/rc 2
l3:3:wait:/etc/rc.d/rc 3
l4:4:wait:/etc/rc.d/rc 4
l5:5:wait:/etc/rc.d/rc 5
l6:6:wait:/etc/rc.d/rc 6

# Things to run in every runlevel.
ud::once:/sbin/update

# Trap CTRL-ALT-DELETE
ca::ctrlaltdel:/sbin/shutdown -t3 -r now

# When our UPS tells us power has failed, assume we have a few minutes
# of power left.  Schedule a shutdown for 2 minutes from now.
# This does, of course, assume you have powerd installed and your
# UPS connected and working correctly.  
pf::powerfail:/sbin/shutdown -f -h +2 "Power Failure; System Shutting Down"

# If power was restored before the shutdown kicked in, cancel it.
pr:12345:powerokwait:/sbin/shutdown -c "Power Restored; Shutdown Cancelled"


# Run gettys in standard runlevels
1:2345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6

# Run xdm in runlevel 5
# xdm is now a separate service
x:5:respawn:/etc/X11/prefdm -nodaemon
an class='deletions'>-787/+757 | * removed ncompress (contrib)Frederic Lepied2003-07-241-1/+1 | * Added Uzbek cyrillic filePablo Saratxaga2003-07-231-0/+18251 | * updated pot filePablo Saratxaga2003-07-211-51/+117 | * updated pot filePablo Saratxaga2003-07-141-138/+418 | * changed "Country" . " / Region" to "Country / Region" and fixed Chinese po'sPablo Saratxaga2003-07-121-12/+7 | * updated pot filePablo Saratxaga2003-07-101-95/+129 | * updated pot filePablo Saratxaga2003-07-092-10998/+11474 | * install netprofile on laptopsFrederic Lepied2003-07-081-0/+1 | * iAdded various new keyboard layoutsPablo Saratxaga2003-07-011-0/+0 | * Moved Bokmaal file to nb.poPablo Saratxaga2003-06-281-21449/+0 | * Fixed typos; updated Ukrainian po filePablo Saratxaga2003-06-272-33/+33 | * updated pot filePablo Saratxaga2003-06-272-498/+721 | * use the mkswap commandPascal Rigaux2003-06-181-0/+1 | | | | | | | => simpler code and mkswap is not big => rely on mkswap for choosing the swap version (note that kernel 2.5 doesn't handle v0 swap anymore) * updated pot filePablo Saratxaga2003-06-162-458/+572 | * change a bit how strings are passed to advertising systemGuillaume Cottenceau2003-06-1216-1252/+1632 | | | | | | so that we don't specify absolute x,y positions for each paragraph, ending with overwritten text in some localizations * cookerGuillaume Cottenceau2003-06-061-0/+0 | * updated Estonien, Japanese, Albanian and Vietnamese po filesPablo Saratxaga2003-06-033-3301/+3539 | * UpdateArkadiusz Lipiec2003-06-021-195/+308 | * updated Spanish translationsFabián Mandelbaum2003-06-021-154/+271 | * changed the name of the russian phonetic layoutPablo Saratxaga2003-05-3147-6454/+11245 | * updated Vietnamese filePablo Saratxaga2003-05-302-67/+68 | * updated Albanian filePablo Saratxaga2003-05-281-5/+46 | * updated pot filePablo Saratxaga2003-05-261-3/+43 | * updated pot filePablo Saratxaga2003-05-222-75/+134 | * updated pot filePablo Saratxaga2003-05-202-98/+147 | * updated German, Estonian and Finnish filesPablo Saratxaga2003-05-203-1420/+1964 | * update french translationThierry Vignaud2003-05-201-67/+54 | * updated Spanish translationsFabián Mandelbaum2003-05-191-221/+176 | * updated pot filePablo Saratxaga2003-05-16