summaryrefslogtreecommitdiff
path: root/share/man/man8/rc.shutdown.8
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>1999-07-20 18:35:37 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>1999-07-20 18:35:37 +0000
commit1b8e697a6d3cd0edfd797214d64eec03736216aa (patch)
tree541bd6ff41eea7497f4ee8f65edf63469214c22c /share/man/man8/rc.shutdown.8
parent8e3e950d48418a7f0705dc0d31ed27770e8e3eb4 (diff)
add an rc.shutdown(8) man page
Diffstat (limited to 'share/man/man8/rc.shutdown.8')
-rw-r--r--share/man/man8/rc.shutdown.827
1 files changed, 27 insertions, 0 deletions
diff --git a/share/man/man8/rc.shutdown.8 b/share/man/man8/rc.shutdown.8
new file mode 100644
index 00000000000..246d577b1b8
--- /dev/null
+++ b/share/man/man8/rc.shutdown.8
@@ -0,0 +1,27 @@
+.\" $OpenBSD: rc.shutdown.8,v 1.1 1999/07/20 18:35:35 aaron Exp $
+.Dd July 20, 1999
+.Dt RC.SHUTDOWN 8
+.Os
+.Sh NAME
+.Nm /etc/rc.shutdown
+.Nd command script run at system shutdown
+.Sh DESCRIPTION
+When the system is administratively shut down using either the
+.Xr reboot 8
+or
+.Xr halt 8
+command, either of these programs checks for the existence of a
+.Pa /etc/rc.shutdown
+script to run before halting the system. It will also be executed by
+.Xr init 8
+if a keyboard-requested halt is issued (for architectures that support this).
+.Pp
+Currently, the
+.Nm
+script does nothing but save part of the entropy pool for reuse on reboot, but
+extra commands may be added by the system administrator.
+.Sh SEE ALSO
+.Xr halt 8 ,
+.Xr init 8 ,
+.Xr rc 8 ,
+.Xr reboot 8