svn commit: r313533 - stable/10/usr.sbin/watchdogd

Xin LI delphij at FreeBSD.org
Fri Feb 10 06:53:50 UTC 2017


Author: delphij
Date: Fri Feb 10 06:53:48 2017
New Revision: 313533
URL: https://svnweb.freebsd.org/changeset/base/313533

Log:
  MFC r274583: Default to use 10 seconds as nap interval instead of 1.

Modified:
  stable/10/usr.sbin/watchdogd/watchdogd.8
  stable/10/usr.sbin/watchdogd/watchdogd.c

Modified: stable/10/usr.sbin/watchdogd/watchdogd.8
==============================================================================
--- stable/10/usr.sbin/watchdogd/watchdogd.8	Fri Feb 10 06:34:52 2017	(r313532)
+++ stable/10/usr.sbin/watchdogd/watchdogd.8	Fri Feb 10 06:53:48 2017	(r313533)
@@ -80,7 +80,7 @@ reboot if there are problems with the sc
 The
 .Fl s Ar sleep
 argument can be used to control the sleep period between each execution
-of the check and defaults to one second.
+of the check and defaults to 10 seconds.
 .Pp
 The
 .Fl t Ar timeout

Modified: stable/10/usr.sbin/watchdogd/watchdogd.c
==============================================================================
--- stable/10/usr.sbin/watchdogd/watchdogd.c	Fri Feb 10 06:34:52 2017	(r313532)
+++ stable/10/usr.sbin/watchdogd/watchdogd.c	Fri Feb 10 06:53:48 2017	(r313533)
@@ -80,7 +80,7 @@ static u_int timeout = WD_TO_128SEC;
 static u_int exit_timeout = WD_TO_NEVER;
 static u_int pretimeout = 0;
 static u_int timeout_sec;
-static u_int nap = 1;
+static u_int nap = 10;
 static int passive = 0;
 static int is_daemon = 0;
 static int is_dry_run = 0;  /* do not arm the watchdog, only


More information about the svn-src-stable-10 mailing list