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. 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" >> _______________________________________________ _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"