Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Nov 2002 13:45:45 -0600
From:      "DaleCo Help Desk" <daleco@daleco.biz>
To:        "Carlos Carnero" <zopewiz@yahoo.com>, "FreeBSD Questions" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Junior hacker assignment :o
Message-ID:  <018401c28503$efc47160$fa00a8c0@DaleCoportable>
References:  <20021105192040.64364.qmail@web21408.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message ----- 
From: "Carlos Carnero" <zopewiz@yahoo.com>
To: "FreeBSD Questions" <freebsd-questions@FreeBSD.ORG>
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 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?018401c28503$efc47160$fa00a8c0>