Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Nov 2002 12:30:50 -0800
From:      Mike Hogsett <hogsett@csl.sri.com>
To:        Carlos Carnero <zopewiz@yahoo.com>
Cc:        Mike Hogsett <hogsett@csl.sri.com>, DaleCo Help Desk <daleco@daleco.biz>, freebsd-questions@freebsd.org
Subject:   Re: Junior hacker assignment :o 
Message-ID:  <200211052030.gA5KUo1J037498@axp.csl.sri.com>
In-Reply-To: Message from Carlos Carnero <zopewiz@yahoo.com>  of "Tue, 05 Nov 2002 12:28:39 PST." <20021105202839.65714.qmail@web21402.mail.yahoo.com> 

next in thread | previous in thread | raw e-mail | index | archive | help


Look in /usr/src/sys/kern/kern_shutdown.c

static void
shutdown_halt(void *junk, int howto) {
...
}

Looks interesting.

 - Mike

> Hi,
> 
> --- Mike Hogsett <hogsett@csl.sri.com> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211052030.gA5KUo1J037498>