source: npl/syn3/syn3-scripts/etc/inittab @ cf6b9ba

Last change on this file since cf6b9ba was c5c522c, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

initial commit, transferred from cleaned syn3 svn tree

  • Property mode set to 100644
File size: 2.0 KB
Line 
1# DatuX inittab
2# These are the default runlevels in Slackware:
3#   0 = halt
4#   1 = single user mode
5#   2 = unused (but configured the same as runlevel 3)
6#   3 = multiuser mode (default Slackware runlevel)
7#   4 = X11 with KDM/GDM/XDM (session managers)
8#   5 = unused (but configured the same as runlevel 3)
9#   6 = reboot
10
11# Default runlevel. (Do not set to 0 or 6)
12id:3:initdefault:
13
14# System initialization (runs when system boots).
15si:S:sysinit:/etc/rc.d/rc.S
16
17# Script to run when going single user (runlevel 1).
18su:1S:wait:/etc/rc.d/rc.K
19
20# Script to run when going multi user.
21rc:2345:wait:/etc/rc.d/rc.M
22
23# What to do at the "Three Finger Salute".
24ca::ctrlaltdel:echo -e "\a*AUW!*"
25
26# Runlevel 0 halts the system.
27l0:0:wait:/etc/rc.d/rc.0
28
29# Runlevel 6 reboots the system.
30l6:6:wait:/etc/rc.d/rc.6
31
32# What to do when power fails.
33pf::powerfail:/sbin/genpowerfail start
34
35# If power is back, cancel the running shutdown.
36pg::powerokwait:/sbin/genpowerfail stop
37
38# These are the standard console login getties in multiuser mode:
39# GEEN shell op tty1, tty2, en tty3
40c4:1235:respawn:/sbin/agetty 38400 tty4 linux
41c5:1235:respawn:/sbin/agetty 38400 tty5 linux
42c6:12345:respawn:/sbin/agetty 38400 tty6 linux
43
44# Local serial lines:
45#s1:12345:respawn:/sbin/agetty -L ttyS0 9600 vt100
46#s2:12345:respawn:/sbin/agetty -L ttyS1 9600 vt100
47
48# Dialup lines:
49#d1:12345:respawn:/sbin/agetty -mt60 38400,19200,9600,2400,1200 ttyS0 vt100
50#d2:12345:respawn:/sbin/agetty -mt60 38400,19200,9600,2400,1200 ttyS1 vt100
51
52# Runlevel 4 used to be for an X window only system, until we discovered
53# that it throws init into a loop that keeps your load avg at least 1 all
54# the time. Thus, there is now one getty opened on tty6. Hopefully no one
55# will notice. ;^)
56# It might not be bad to have one text console anyway, in case something
57# happens to X.
58x1:4:wait:/etc/rc.d/rc.4
59
60#start deamontools
61DS:3:respawn:/usr/bin/svscanboot
62
63#postinstallation and service checks
64PI:3:wait:/sbin/postinst.sh
65
66#start webinterface after postinstallation
67WI:3:respawn:/etc/rc.d/rc.apache_webint
68
69# END OF DEFAULT CONFIG
Note: See TracBrowser for help on using the repository browser.