mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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.
This commit is contained in:
parent
8ca8d252bb
commit
9ee3ea71b3
1 changed files with 1 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue