Re: [rfc] [patch] do not stop watchdog on shutdown

From: Aleksandr Rybalko <ray_at_freebsd.org>
Date: Tue, 17 Dec 2013 23:28:38 +0200
On Tue, 17 Dec 2013 10:53:02 -0800
Maksim Yevmenkin <maksim.yevmenkin_at_gmail.com> 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)
> _at__at_ -39,4 +39,7 _at__at_
>  pidfile="/var/run/${name}.pid"
> 
>  load_rc_config $name
> +
> +sig_stop="${watchdogd_sig_stop:-TERM}"
> +
>  run_rc_command "$1"
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to
> "freebsd-current-unsubscribe_at_freebsd.org"


-- 
Aleksandr Rybalko <ray_at_freebsd.org>
Received on Tue Dec 17 2013 - 20:28:42 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:45 UTC