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

看板FB_current作者時間12年前 (2013/12/22 11:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串8/8 (看更多)
On Tue, 17 Dec 2013 10:53:02 -0800 Maksim Yevmenkin <maksim.yevmenkin@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) > @@ -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 <ray@freebsd.org> _______________________________________________ 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"
文章代碼(AID): #1Ijbqse9 (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1Ijbqse9 (FB_current)