From owner-freebsd-questions Tue Nov 5 12:33: 6 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 8C57137B401 for ; Tue, 5 Nov 2002 12:33:05 -0800 (PST) Received: from cactus.fi.uba.ar (cactus.fi.uba.ar [157.92.49.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 098A543E4A for ; Tue, 5 Nov 2002 12:33:04 -0800 (PST) (envelope-from fgleiser@cactus.fi.uba.ar) Received: from cactus.fi.uba.ar (cactus.fi.uba.ar [157.92.49.108]) by cactus.fi.uba.ar (8.12.3/8.12.3) with ESMTP id gA5KVR5v029083; Tue, 5 Nov 2002 17:31:27 -0300 (ART) (envelope-from fgleiser@cactus.fi.uba.ar) Date: Tue, 5 Nov 2002 17:31:22 -0300 (ART) From: Fernando Gleiser To: DaleCo Help Desk Cc: Carlos Carnero , FreeBSD Questions Subject: Re: Junior hacker assignment :o In-Reply-To: <018401c28503$efc47160$fa00a8c0@DaleCoportable> Message-ID: <20021105172841.V9786-100000@cactus.fi.uba.ar> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, hits=-103.4 required=5.0 tests=IN_REP_TO,USER_IN_WHITELIST version=2.31 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 On Tue, 5 Nov 2002, DaleCo Help Desk wrote: > > 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 Nope. This is the code to the shutdown command, which tells the kernel to shut down. The kernel code to shutdown is in /usr/src/sys/kern/kern_shutdown.c Fer > > Kevin Kinsey > DaleCo, S.P. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message