summaryrefslogtreecommitdiff
path: root/sbin/init/init.8
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/init/init.8')
-rw-r--r--sbin/init/init.830
1 files changed, 16 insertions, 14 deletions
diff --git a/sbin/init/init.8 b/sbin/init/init.8
index f0b75564e89..390d9f7d68d 100644
--- a/sbin/init/init.8
+++ b/sbin/init/init.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: init.8,v 1.9 1998/08/29 21:11:08 deraadt Exp $
+.\" $OpenBSD: init.8,v 1.10 1998/09/17 04:14:53 aaron Exp $
.\" $NetBSD: init.8,v 1.6 1995/03/18 14:56:31 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -134,7 +134,7 @@ In multi-user operation,
maintains
processes for the terminal ports found in the file
.Xr ttys 5 .
-.Nm Init
+.Nm init
reads this file, and executes the command found in the second field.
This command is usually
.Xr getty 8 ;
@@ -183,7 +183,9 @@ file.
When a line is turned off in
.Xr ttys ,
.Nm init
-will send a SIGHUP signal to the controlling process
+will send a
+.Dv SIGHUP
+signal to the controlling process
for the session associated with the line.
For any lines that were previously turned off in the
.Xr ttys
@@ -209,7 +211,7 @@ file and records in the
file is out of sync,
so this practice is not recommended.
.Pp
-.Nm Init
+.Nm init
will terminate multi-user operations and resume single-user mode
if sent a terminate
.Pq Dv TERM
@@ -217,11 +219,11 @@ signal, for example,
.Dq Li "kill \-s TERM 1" .
If there are processes outstanding that are deadlocked (because of
hardware or software failure),
-.Xr init
+.Nm init
will not wait for them all to die (which might take forever), but
will time out after 30 seconds and print a warning message.
.Pp
-.Nm Init
+.Nm init
will cease creating new
.Xr getty Ns 's
and allow the system to slowly die away, if it is sent a terminal stop
@@ -240,7 +242,7 @@ The role of
is so critical that if it dies, the system will reboot itself
automatically.
If, at bootstrap time, the
-.Xr init
+.Nm init
process cannot be located, the system will panic with the message
``panic: "init died (signal %d, exit %d)''.
.Sh DIAGNOSTICS
@@ -262,18 +264,18 @@ a persistent device error condition.
.Sh FILES
.Bl -tag -width /var/log/wtmp -compact
.It Pa /dev/console
-System console device.
+system console device
.It Pa /dev/tty*
-Terminal ports found in
-.Xr ttys .
+terminal ports found in
+.Xr ttys
.It Pa /var/run/utmp
-Record of current users on the system.
+record of users currently logged in
.It Pa /var/log/wtmp
-Record of all logins and logouts.
+record of all logins and logouts
.It Pa /etc/ttys
-The terminal initialization information file.
+terminal initialization information file
.It Pa /etc/rc
-System startup commands.
+system startup commands
.El
.Sh SEE ALSO
.Xr login 1 ,