aboutsummaryrefslogtreecommitdiff
path: root/tools/tools
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2017-11-14 00:29:14 +0000
committerWarner Losh <imp@FreeBSD.org>2017-11-14 00:29:14 +0000
commit48f1a4921e216e3366ffd7f63000154bba1115ab (patch)
tree2c881c3b040b340cbafdf9a7376d0b9ce6d2509d /tools/tools
parent3e21cbc80226534094464f4af165c1bda761ef58 (diff)
downloadsrc-48f1a4921e216e3366ffd7f63000154bba1115ab.tar.gz
src-48f1a4921e216e3366ffd7f63000154bba1115ab.zip
Add two new tunables / sysctls to controll reboot after panic:
kern.poweroff_on_panic which, when enabled, instructs a system to power off on a panic instead of a reboot. kern.powercyle_on_panic which, when enabled, instructs a system to power cycle, if possible, on a panic instead of a reboot. Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D13042
Notes
Notes: svn path=/head/; revision=325785
Diffstat (limited to 'tools/tools')
-rw-r--r--tools/tools/sysdoc/tunables.mdoc14
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/tools/sysdoc/tunables.mdoc b/tools/tools/sysdoc/tunables.mdoc
index d293b756b446..7dc2f8fa4e96 100644
--- a/tools/tools/sysdoc/tunables.mdoc
+++ b/tools/tools/sysdoc/tunables.mdoc
@@ -1035,6 +1035,20 @@ is attempting to comply with.
This is a read-only variable.
---
+kern.powercycle_on_panic
+bool
+
+In the event of a panic, this variable controls whether or not the
+system should try to power cycle instead of rebooting.
+
+---
+kern.poweroff_on_panic
+bool
+
+In the event of a panic, this variable controls whether or not the
+system should try to power off instead of rebooting.
+
+---
kern.proc.all
---