Date: Sat, 23 Mar 2002 18:21:30 +0200 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: Justin Heath <jheath@theplanet.com> Cc: freebsd-questions@freebsd.org Subject: Re: Kernel debugging question Message-ID: <20020323162130.GA64332@hades.hell.gr> In-Reply-To: <1016899513.1171.46.camel@minion> References: <1016899513.1171.46.camel@minion>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2002-03-23 10:05, Justin Heath wrote: > As far as I understand this will wait 15 seconds after dropping to > reboot. > > Now for my question. Is there a way to configure this 15 second timeout > value? I would like to configure this for a value of 10 minutes. This > would give me a chance to hook up a console to an affected server before > a reboot. Any suggestions or thoughts? Thanks. Looking at the source of /sys/kern/kern_shutdown.c here's what I found: #ifndef PANIC_REBOOT_WAIT_TIME #define PANIC_REBOOT_WAIT_TIME 15 /* default to 15 seconds */ #endif So, unless I'm terribly mistaken, you can set PANIC_REBOOT_TIME to the number of seconds you want the delay to last. Giorgos Keramidas FreeBSD Documentation Project keramida@{freebsd.org,ceid.upatras.gr} http://www.FreeBSD.org/docproj/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020323162130.GA64332>