----- Original Message ----- 
From: "Carlos Carnero" <[EMAIL PROTECTED]>
To: "FreeBSD Questions" <[EMAIL PROTECTED]>
Sent: Tuesday, November 05, 2002 1:20 PM
Subject: Junior hacker assignment :o


> Hello,
> 
> I'd like to make my own modification to FreeBSD, but I
> really don't know where to start. This is what I want
> to do:
> 
> After doing a shutdown (no APM nor ACPI) FreeBSD tells
> me that the system is ready to be powered down. I'd
> like to add a (configurable) timeout to this final
> system notice that automatically reboots when this
> timer has expired.
> 
> Where do I start reading? I mean, I think this is a
> kernel thingy, right?
> 
> Best regards,
> Carlos.
> 

With a second look, you say "(configurable)" so
I guess the -r switch isn't enough.

I suppose you want to read the code in
/usr/src/sbin/shutdown/shutdown.c

Kevin Kinsey
DaleCo, S.P.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to