From owner-freebsd-questions@FreeBSD.ORG Thu Oct 14 04:39:26 2004 Return-Path: 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 9689416A4CE for ; Thu, 14 Oct 2004 04:39:26 +0000 (GMT) Received: from web52101.mail.yahoo.com (web52101.mail.yahoo.com [206.190.39.70]) by mx1.FreeBSD.org (Postfix) with SMTP id EEFD343D31 for ; Thu, 14 Oct 2004 04:39:25 +0000 (GMT) (envelope-from idfubar@yahoo.com) Message-ID: <20041014043925.34640.qmail@web52101.mail.yahoo.com> Received: from [66.234.212.220] by web52101.mail.yahoo.com via HTTP; Wed, 13 Oct 2004 21:39:25 PDT Date: Wed, 13 Oct 2004 21:39:25 -0700 (PDT) From: Rishi Chopra To: Geert Hendrickx In-Reply-To: <20041013175012.GA23062@lori.mine.nu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: questions@freebsd.org Subject: Re: Shutdown And User Intervention X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: rchopra@cal.berkeley.edu List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Oct 2004 04:39:26 -0000 --- Geert Hendrickx wrote: > On Wed, Oct 13, 2004 at 07:50:08AM -0700, Rishi > Chopra wrote: > > Is there a way to issue a shutdown command that > > doesn't require me to press a key to reboot? > > > > Currently when I enter the command 'shutdown -p' > the > > system shuts down gracefully but I have to press a > key > > to reboot the system. > > > > Ultimately I'd like to be able to power-off the > system > > gracefully without requiring the user (me) to > press a > > key afterwards. > > Add the following to your kernel configuration file, > build and install a > new kernel and try shutdown -p again: > > device acpica > > It's not in de GENERIC kernel because 1) this > feature is still > experimental (however it seems to work fine), and 2) > many users never > shutdown -p their FreeBSD machines anyway. :-) > > GH > > -- > :wq > > Thanks to Mick, Andreas, Geert and Dee for their suggestions. I tried adding the suggested line (I'm running 5.2.1) but the response is: config: Error: device "acpica" is unknown config: 1 errors Do I need to be running a special kernel to enable acpica? Is there any other way to enable ACPI? Will I have to start a daemon after compiling the kernel to enable ACPI? ===== Rishi Chopra http://www.ocf.berkeley.edu/~rchopra _______________________________ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com