summaryrefslogtreecommitdiffstats
path: root/share/man/man9/doshutdownhooks.9
diff options
context:
space:
mode:
authorniklas <niklas@openbsd.org>2001-07-27 09:55:07 +0000
committerniklas <niklas@openbsd.org>2001-07-27 09:55:07 +0000
commitec1f6c03f6b1c522f00a1b37841e102af926600c (patch)
treee098adcd97f87315881778b9d980cfcb3be855dd /share/man/man9/doshutdownhooks.9
parentshort information about setpass + cleanup (diff)
downloadwireguard-openbsd-ec1f6c03f6b1c522f00a1b37841e102af926600c.tar.xz
wireguard-openbsd-ec1f6c03f6b1c522f00a1b37841e102af926600c.zip
Startup hooks. Can be used for providing root/swap devices from device
systems which want configuration to finish late, like I2O. Implemented via a general hooks mechanism which the shutdown hooks have been converted to use as well. It even has manpages!
Diffstat (limited to 'share/man/man9/doshutdownhooks.9')
-rw-r--r--share/man/man9/doshutdownhooks.98
1 files changed, 7 insertions, 1 deletions
diff --git a/share/man/man9/doshutdownhooks.9 b/share/man/man9/doshutdownhooks.9
index 6c241847d59..19be7e1575c 100644
--- a/share/man/man9/doshutdownhooks.9
+++ b/share/man/man9/doshutdownhooks.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: doshutdownhooks.9,v 1.5 2001/03/09 14:04:19 aaron Exp $
+.\" $OpenBSD: doshutdownhooks.9,v 1.6 2001/07/27 09:55:07 niklas Exp $
.\" $NetBSD: doshutdownhooks.9,v 1.1 1995/11/25 21:24:49 perry Exp $
.\"
.\" Copyright (c) 1994 Christopher G. Demetriou
@@ -54,6 +54,12 @@ with interrupts turned off.
It is called immediately before the system is halted or rebooted,
after file systems have been unmounted, after the clock has been updated,
and after a system dump has been done (if necessary).
+.Pp
+Shutdown hooks are, like startup hooks, implemented via the more general
+.Xr dohooks 9
+API.
.Sh SEE ALSO
.Xr boot 9 ,
+.Xr dohooks 9 ,
+.Xr dostartuphooks 9 ,
.Xr shutdownhook_establish 9