From owner-freebsd-questions Tue Nov 5 12:30:54 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 441E637B401 for ; Tue, 5 Nov 2002 12:30:53 -0800 (PST) Received: from casper.sri.com (casper.SRI.COM [128.18.243.12]) by mx1.FreeBSD.org (Postfix) with SMTP id 83FC843E42 for ; Tue, 5 Nov 2002 12:30:52 -0800 (PST) (envelope-from hogsett@csl.sri.com) Received: (qmail 15267 invoked from network); 5 Nov 2002 20:34:47 -0000 Received: from localhost (HELO casper.SRI.COM) (127.0.0.1) by casper.sri.com with SMTP; 5 Nov 2002 20:34:47 -0000 Received: from quarter.csl.sri.com ([130.107.1.30]) by casper.SRI.COM (NAVGW 2.5.2.17) with SMTP id M2002110512344600823 ; Tue, 05 Nov 2002 12:34:47 -0800 Received: from axp.csl.sri.com (axp.csl.sri.com [130.107.2.30]) by quarter.csl.sri.com (8.12.4/8.12.4) with ESMTP id gA5KUonr014034; Tue, 5 Nov 2002 12:30:50 -0800 Received: from axp.csl.sri.com (localhost [127.0.0.1]) by axp.csl.sri.com (8.12.6/8.12.3) with ESMTP id gA5KUo1J037498; Tue, 5 Nov 2002 12:30:50 -0800 (PST) (envelope-from hogsett@axp.csl.sri.com) Message-Id: <200211052030.gA5KUo1J037498@axp.csl.sri.com> To: Carlos Carnero Cc: Mike Hogsett , DaleCo Help Desk , freebsd-questions@freebsd.org Subject: Re: Junior hacker assignment :o In-Reply-To: Message from Carlos Carnero of "Tue, 05 Nov 2002 12:28:39 PST." <20021105202839.65714.qmail@web21402.mail.yahoo.com> Mime-Version: 1.0 (generated by tm-edit 8.8 (Time Passed Me By)) Content-Type: text/plain; charset=US-ASCII Date: Tue, 05 Nov 2002 12:30:50 -0800 From: Mike Hogsett Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Look in /usr/src/sys/kern/kern_shutdown.c static void shutdown_halt(void *junk, int howto) { ... } Looks interesting. - Mike > Hi, > > --- Mike Hogsett wrote: > > Well whatever function the kernel is in while it > > loops, polling the > > keyboard asking "press any key to reboot" could have > > additional logic for > > a countdown timer to reboot. > > Great! > > > How and where to do this? I don't know. > > Not so great ;) > > Thanks a lot, > Carlos. > > __________________________________________________ > Do you Yahoo!? > HotJobs - Search new jobs daily now > http://hotjobs.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message