Date: Wed, 18 Dec 2013 00:18:13 +0200 From: Aleksandr Rybalko <ray@freebsd.org> To: Maksim Yevmenkin <maksim.yevmenkin@gmail.com> Cc: "current@freebsd.org" <current@freebsd.org> Subject: Re: [rfc] [patch] do not stop watchdog on shutdown Message-ID: <20131218001813.fcf0c43d.ray@freebsd.org> In-Reply-To: <CAFPOs6qYanSOWqZmFzEB5t5JFmzKRweGkVwFapyj3piVN1j8fg@mail.gmail.com> References: <CAFPOs6oyAs%2BDvcrNM8GnWNrzEVpkkNBTrHWzb-OSO90MefnB9Q@mail.gmail.com> <20131217232838.c4584918.ray@freebsd.org> <CAFPOs6qYanSOWqZmFzEB5t5JFmzKRweGkVwFapyj3piVN1j8fg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 17 Dec 2013 14:03:43 -0800 Maksim Yevmenkin <maksim.yevmenkin@gmail.com> wrote: > Hello Aleksandr > > >> 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. > > yes. its up to the user to configure appropriate watchdog timeout. > this features is mostly for "light-out" type of environments where > remote hands are not easily available. Totally agree :) > > thanks > 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" > >> _______________________________________________ -- Aleksandr Rybalko <ray@freebsd.org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131218001813.fcf0c43d.ray>