diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 1999-07-20 18:35:37 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 1999-07-20 18:35:37 +0000 |
commit | 1b8e697a6d3cd0edfd797214d64eec03736216aa (patch) | |
tree | 541bd6ff41eea7497f4ee8f65edf63469214c22c /share/man | |
parent | 8e3e950d48418a7f0705dc0d31ed27770e8e3eb4 (diff) |
add an rc.shutdown(8) man page
Diffstat (limited to 'share/man')
-rw-r--r-- | share/man/man8/Makefile | 5 | ||||
-rw-r--r-- | share/man/man8/rc.shutdown.8 | 27 |
2 files changed, 30 insertions, 2 deletions
diff --git a/share/man/man8/Makefile b/share/man/man8/Makefile index f5ca3517944..1e5d769db1a 100644 --- a/share/man/man8/Makefile +++ b/share/man/man8/Makefile @@ -1,11 +1,12 @@ -# $OpenBSD: Makefile,v 1.22 1999/07/08 13:56:35 aaron Exp $ +# $OpenBSD: Makefile,v 1.23 1999/07/20 18:35:35 aaron Exp $ # $NetBSD: Makefile,v 1.13 1996/03/28 21:36:40 mark Exp $ # @(#)Makefile 8.1 (Berkeley) 6/5/93 MAN= afterboot.8 compat_bsdos.8 compat_freebsd.8 compat_ibcs2.8 \ compat_linux.8 compat_sunos.8 \ compat_svr4.8 compat_ultrix.8 dhcp.8 diskless.8 intro.8 rc.8 \ - rc.conf.8 ssl.8 sticky.8 update.8 yp.8 boot_config.8 vpn.8 + rc.conf.8 rc.shutdown.8 ssl.8 sticky.8 update.8 yp.8 boot_config.8 \ + vpn.8 SUBDIR= man8.amiga man8.arm32 man8.atari man8.hp300 man8.i386 man8.mac68k \ man8.sparc man8.sun3 man8.vax 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 |