1 .\" Copyright 1992, 1993 Rickard E. Faith (faith@cs.unc.edu)
2 .\" May be distributed under the GNU General Public License
3 .\" " for emacs's hilit19 mode :-)
4 .TH SIMPLEINIT 8 "20 November 1993" "Linux 0.99" "Linux Programmer's Manual"
6 simpleinit \- process control initialization
11 is invoked as the last step in the Linux boot sequence. If the
13 option is used, or if the file
15 exists, then single user mode will be entered, by starting
19 exists, then the root password will be required to start single user mode.
20 If the root password does not exist, or if
22 does not exist, the checking of the password will be skipped.
26 exists, then the contents of that file will be read, and used to set the TZ
27 environment variable for each process started by
29 This "feature" is only available if it's configured at compile-time. It's
32 After single user mode is terminated, the
34 file is executed, and the information in
36 will be used to start processes.
40 is running, several signals are trapped, with special action taken. Since
42 has PID 1, sending signals to the
44 process is easy with the
50 catches a SIGHUP (hangup) signal, the
56 catches a SIGTSTP (terminal stop) signal, no more processes will be
57 spawned. This is a toggle, which is reset is
59 catches another SIGTSTP signal.
63 catches a SIGINT (interrupt) signal,
65 will sync a few times, and try to start
69 will execute the system
71 call. Under Linux, it is possible to configure the Ctrl-Alt-Del sequence
74 instead of rebooting the system.
75 .SH "THE INITTAB FILE"
76 Because of the number of init programs which are appearing in the Linux
77 community, the documentation for the
79 file, which is usually found with the
81 man page, is presented here:
86 .B "ttyline:termcap-entry:getty-command"
89 An example is as follows:
93 tty1:linux:/sbin/getty 9600 tty1
94 tty2:linux:/sbin/getty 9600 tty2
95 tty3:linux:/sbin/getty 9600 tty3
96 tty4:linux:/sbin/getty 9600 tty4
97 # tty5:linux:/sbin/getty 9600 tty5
98 # ttyS1:dumb:/sbin/getty 9600 ttyS1
99 # ttyS2:dumb:/sbin/getty -m -t60 2400 ttyS2
103 Lines beginning with the
105 character are treated as comments. Please see documentation for the
107 command that you are using, since there are several of these in the Linux
108 community at this time.
130 This program is called
132 to distinguish it from the System V compatible versions of init which are
133 starting to appear in the Linux community.
135 should be linked to, or made identical with,
137 for correct functionality.
139 Peter Orbaek (poe@daimi.aau.dk)
141 Version 1.20, with patches for singleuser mode by Werner Almesberger