From owner-freebsd-current@FreeBSD.ORG Tue Dec 17 21:28:42 2013 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A75AF6A for ; Tue, 17 Dec 2013 21:28:42 +0000 (UTC) Received: from smtp.dlink.ua (smtp.dlink.ua [193.138.187.146]) by mx1.freebsd.org (Postfix) with ESMTP id 604D91E9F for ; Tue, 17 Dec 2013 21:28:42 +0000 (UTC) Received: from rnote.ddteam.net (7-17-135-95.pool.ukrtel.net [95.135.17.7]) (Authenticated sender: ray) by smtp.dlink.ua (Postfix) with ESMTPSA id C2C2FC4935; Tue, 17 Dec 2013 23:28:40 +0200 (EET) Date: Tue, 17 Dec 2013 23:28:38 +0200 From: Aleksandr Rybalko To: Maksim Yevmenkin Subject: Re: [rfc] [patch] do not stop watchdog on shutdown Message-Id: <20131217232838.c4584918.ray@freebsd.org> In-Reply-To: References: Organization: FreeBSD.ORG X-Mailer: Sylpheed 3.1.2 (GTK+ 2.24.5; amd64-portbld-freebsd9.0) X-Operating-System: FreeBSD Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "current@freebsd.org" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Dec 2013 21:28:42 -0000 On Tue, 17 Dec 2013 10:53:02 -0800 Maksim Yevmenkin wrote: > hello, Hi Maksim! > > would anyone object to this patch? It is good idea, but sometimes shutdown sequence longer than some H/W watchdogs even support. I have one board which can do only 20sec maximum time. > > max > > Index: src/etc/rc.d/watchdogd > =================================================================== > --- src/etc/rc.d/watchdogd (revision 2999) > +++ src/etc/rc.d/watchdogd (working copy) > @@ -39,4 +39,7 @@ > pidfile="/var/run/${name}.pid" > > load_rc_config $name > + > +sig_stop="${watchdogd_sig_stop:-TERM}" > + > run_rc_command "$1" > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to > "freebsd-current-unsubscribe@freebsd.org" -- Aleksandr Rybalko