From owner-freebsd-questions Tue Nov 5 12:17:16 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 9B50E37B401 for ; Tue, 5 Nov 2002 12:17:14 -0800 (PST) Received: from mail.gbronline.com (mail.gbronline.com [12.145.226.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 949FB43E42 for ; Tue, 5 Nov 2002 12:17:09 -0800 (PST) (envelope-from daleco@daleco.biz) Received: from DaleCoportable [12.145.226.134] by mail.gbronline.com (SMTPD32-7.13) id A6CE27E901FC; Tue, 05 Nov 2002 14:15:10 -0600 Message-ID: <01ca01c28507$f187a860$fa00a8c0@DaleCoportable> From: "DaleCo Help Desk" To: "Carlos Carnero" , "FreeBSD Questions" References: <20021105200711.60203.qmail@web21402.mail.yahoo.com> Subject: Re: Junior hacker assignment :o Date: Tue, 5 Nov 2002 14:14:26 -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: "DaleCo Help Desk" ; "FreeBSD Questions" Sent: Tuesday, November 05, 2002 2:07 PM Subject: Re: Junior hacker assignment :o > Hello, > > --- DaleCo Help Desk wrote: > > I suppose you want to read the code in > > /usr/src/sbin/shutdown/shutdown.c > > in the (appropiately named? :) function > die_you_gravy_sucking_pig_dog() rebooting means > sending init a INT signal... I'll heck init (and > that's kernel turf right?) > > Thanks a lot, > Carlos. > Is that 'check init' or 'hack init'? I might just alter shutdown so it took an additional argument to -r---- along the lines of shutdown -r [when-die] [when-resurrect] .....but I'm just a converted Windoze Luser and amateur sysadmin, so you're getting beyond me here. If the OS is shut down, then the kernel's shut down, right, and how's it gonna count seconds 'til Resurrection Day? KDK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message