home *** CD-ROM | disk | FTP | other *** search
- #
- # /etc/inittab
- #
- # Copyright (c) 1996 S.u.S.E. GmbH Fuerth, Germany. All rights reserved.
- #
- # Author: Florian La Roche <florian@suse.de>, 1996
- #
- # This is the main configuration file of /sbin/init, which
- # is executed by the kernel on startup. It describes what
- # scripts are used for the different run-levels.
- #
- # All scripts for runlevel changes are in /sbin/init.d/ and the main
- # file for changes is /etc/rc.config.
- #
-
- # default runlevel
- id:2:initdefault:
-
- # check system on startup
- # first script to be executed if not booting in emergency (-b) mode
- si:I:wait:/sbin/init.d/boot
-
- # /sbin/init.d/rc takes care of runlevel handling
- #
- # runlevel 0 is halt
- # runlevel S is single-user
- # runlevel 1 is multi-user without network
- # runlevel 2 is multi-user with network
- # runlevel 3 is multi-user with network and xdm
- # runlevel 6 is reboot
- l0:0:wait:/sbin/init.d/rc 0
- l1:1:wait:/sbin/init.d/rc 1
- l2:2:wait:/sbin/init.d/rc 2
- l3:3:wait:/sbin/init.d/rc 3
- l6:6:wait:/sbin/init.d/rc 6
-
- # what to do in single-user mode
- ls:S:wait:/sbin/init.d/rc S
- ~~:S:respawn:/sbin/sulogin
-
- # what to do when CTRL-ALT-DEL is pressed
- ca::ctrlaltdel:/sbin/shutdown -r -t 4 now
-
- # special keyboard request (Alt-UpArrow)
- # look into the kbd-0.90 docs for this
- kb::kbrequest:/bin/echo "Keyboard Request -- edit /etc/inittab to let this work."
-
- # what to do when power fails/returns
- pf::powerwait:/sbin/init.d/powerfail start
- pn::powerfailnow:/sbin/init.d/powerfail now
- po::powerokwait:/sbin/init.d/powerfail stop
-
- # getty-programs for the normal runlevels
- # <id>:<runlevels>:<action>:<process>
- # The "id" field MUST be the same as the last
- # characters of the device (after "tty").
- 1:123:respawn:/sbin/mingetty --noclear tty1
- 2:123:respawn:/sbin/mingetty tty2
- 3:123:respawn:/sbin/mingetty tty3
- # 4:123:respawn:/sbin/mingetty tty4
- # 5:123:respawn:/sbin/mingetty tty5
- # 6:123:respawn:/sbin/mingetty tty6
-
- #
- #
- # Note: Do not use tty7 in runlevel 3, this virtual line
- # is occupied by the programm xdm.
- #
-
- # This is for the package xdmsc, after installing and
- # and configuration you should remove the comment character
- # from the following line:
- #7:2:+/sbin/init.d/rx tty7
-
-
- # modem getty.
- # mo:23:respawn:/usr/sbin/mgetty -s 38400 modem
-
- # fax getty (hylafax)
- # mo:23:respawn:/usr/lib/fax/faxgetty /dev/modem
-
- # vbox (voice box) getty
- # I6:23:respawn:/usr/sbin/vboxgetty -d /dev/ttyI6
- # I7:23:respawn:/usr/sbin/vboxgetty -d /dev/ttyI7
-
- # end of /etc/inittab
-