dissociate from old session, tty
[unix-history] / usr / src / sbin / reboot / halt.8
index b12617a..eb477ce 100644 (file)
@@ -1,15 +1,17 @@
-.\" Copyright (c) 1980 Regents of the University of California.
-.\" All rights reserved.  The Berkeley software License Agreement
-.\" specifies the terms and conditions for redistribution.
+.\" Copyright (c) 1980 The Regents of the University of California.
+.\" All rights reserved.
 .\"
 .\"
-.\"    @(#)halt.8      5.1 (Berkeley) %G%
+.\" %sccs.include.redist.man%
 .\"
 .\"
-.TH HALT 8 "11 May 1981"
+.\"    @(#)halt.8      6.4 (Berkeley) %G%
+.\"
+.TH <PROGNAME> <SECTION> ""
+.TH HALT 8 ""
 .UC 4
 .SH NAME
 halt \- stop the processor
 .SH SYNOPSIS
 .UC 4
 .SH NAME
 halt \- stop the processor
 .SH SYNOPSIS
-.B /etc/halt
+.B halt
 [
 .B \-n
 ]
 [
 .B \-n
 ]
@@ -32,8 +34,19 @@ option prevents the sync before stopping.  The
 option causes a quick halt, no graceful shutdown is attempted.  The
 .B \-y
 option is needed if you are trying to halt the system from a dialup.
 option causes a quick halt, no graceful shutdown is attempted.  The
 .B \-y
 option is needed if you are trying to halt the system from a dialup.
+.PP
+.I Halt
+normally logs the shutdown using
+.IR syslog (8)
+and places a shutdown record in the login accounting file
+/var/log/wtmp.
+These actions are inhibited if the
+.B \-n
+or
+.B \-q
+options are present.
 .SH SEE ALSO
 .SH SEE ALSO
-reboot(8), shutdown(8)
+reboot(8), shutdown(8), syslogd(8)
 .SH BUGS
 It is very difficult to halt a VAX, as the machine wants to then
 reboot itself.  A rather tight loop suffices.
 .SH BUGS
 It is very difficult to halt a VAX, as the machine wants to then
 reboot itself.  A rather tight loop suffices.