aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ipmi
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2017-11-05 05:05:18 +0000
committerPeter Wemm <peter@FreeBSD.org>2017-11-05 05:05:18 +0000
commit9ee3ea71b3a555ea42befa1780a72d73586be26f (patch)
tree6c6e959041ae0ebfe0f09a0709f7dded258ff5cb /sys/dev/ipmi
parent8ca8d252bb385afa0d43fe933dd1eecc4dbbbc5c (diff)
downloadsrc-9ee3ea71b3a555ea42befa1780a72d73586be26f.tar.gz
src-9ee3ea71b3a555ea42befa1780a72d73586be26f.zip
As a follow-on to r325378, make the shutdown timer default to 0 as well.
Otherwise an orderly shutdown will initiate a watchdog that will cause a 7 minute delayed reboot *by default*, In the freebsd.org cluster's case this often worked out be a surprise reboot a minute or two after the machine came back up.
Notes
Notes: svn path=/head/; revision=325425
Diffstat (limited to 'sys/dev/ipmi')
-rw-r--r--sys/dev/ipmi/ipmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ipmi/ipmi.c b/sys/dev/ipmi/ipmi.c
index 84ec6356e852..8cc8bdc4f2b3 100644
--- a/sys/dev/ipmi/ipmi.c
+++ b/sys/dev/ipmi/ipmi.c
@@ -83,7 +83,7 @@ int ipmi_attached = 0;
static int on = 1;
static bool wd_in_shutdown = false;
static int wd_timer_actions = IPMI_SET_WD_ACTION_POWER_CYCLE;
-static int wd_shutdown_countdown = 420; /* sec */
+static int wd_shutdown_countdown = 0; /* sec */
static int wd_startup_countdown = 0; /* sec */
static int wd_pretimeout_countdown = 120; /* sec */
static int cycle_wait = 10; /* sec */