summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>1996-08-22 03:50:33 +0000
committerjulian <julian@FreeBSD.org>1996-08-22 03:50:33 +0000
commite5048c6cd53c81e64bc5beaf9cc05549039c4188 (patch)
tree36f241a22c1b649e9fd947dfe20092d354b2dfe0 /lib
parent2da1db6ea869d363d2b95c24f7947a1905a0183d (diff)
downloadFreeBSD-src-e5048c6cd53c81e64bc5beaf9cc05549039c4188.zip
FreeBSD-src-e5048c6cd53c81e64bc5beaf9cc05549039c4188.tar.gz
Some cleanups to the callout lists recently added.
note that at_shutdown has a new parameter to indicate When during a shutdown the callout should be made. also add a RB_POWEROFF flag to reboot "howto" parameter.. tells the reboot code in our at_shutdown module to turn off the UPS and kill the power. bound to be useful eventually on laptops
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/reboot.23
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libc/sys/reboot.2 b/lib/libc/sys/reboot.2
index ad66ee5..d51468d 100644
--- a/lib/libc/sys/reboot.2
+++ b/lib/libc/sys/reboot.2
@@ -81,6 +81,9 @@ for more information.
.It Dv RB_HALT
the processor is simply halted; no reboot takes place.
This option should be used with caution.
+.It Dv RB_POWEROFF
+After halting, the shutdown code will do what it can to turn
+of the power. This requires hardware support.
.It Dv RB_INITNAME
An option allowing the specification of an init program (see
.Xr init 8 )
OpenPOWER on IntegriCloud