From owner-freebsd-questions Tue Nov 5 11:48: 9 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 24B6A37B401 for ; Tue, 5 Nov 2002 11:48:08 -0800 (PST) Received: from mail.gbronline.com (mail.gbronline.com [12.145.226.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7EA6E43E42 for ; Tue, 5 Nov 2002 11:48:07 -0800 (PST) (envelope-from daleco@daleco.biz) Received: from DaleCoportable [12.145.236.208] by mail.gbronline.com (SMTPD32-7.13) id A00B41DB0212; Tue, 05 Nov 2002 13:46:19 -0600 Message-ID: <018401c28503$efc47160$fa00a8c0@DaleCoportable> From: "DaleCo Help Desk" To: "Carlos Carnero" , "FreeBSD Questions" References: <20021105192040.64364.qmail@web21408.mail.yahoo.com> Subject: Re: Junior hacker assignment :o Date: Tue, 5 Nov 2002 13:45:45 -0600 Organization: DaleCo, S.P.---"the solutions people" MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 ----- Original Message ----- From: "Carlos Carnero" To: "FreeBSD Questions" 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