From owner-freebsd-questions@FreeBSD.ORG Wed Oct 13 17:50:30 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 1493B16A4CE for ; Wed, 13 Oct 2004 17:50:30 +0000 (GMT) Received: from outmx005.isp.belgacom.be (outmx005.isp.belgacom.be [195.238.2.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4160E43D2D for ; Wed, 13 Oct 2004 17:50:29 +0000 (GMT) (envelope-from geert@lori.mine.nu) Received: from outmx005.isp.belgacom.be (localhost [127.0.0.1]) with ESMTP id i9DHoHnj017083 for ; Wed, 13 Oct 2004 19:50:18 +0200 (envelope-from ) Received: from lori.mine.nu (47-135.244.81.adsl.skynet.be [81.244.135.47]) with ESMTP id i9DHoETU017060; Wed, 13 Oct 2004 19:50:14 +0200 (envelope-from ) Received: by lori.mine.nu (Postfix, from userid 1000) id 345A1B10; Wed, 13 Oct 2004 19:50:12 +0200 (CEST) Date: Wed, 13 Oct 2004 19:50:12 +0200 From: Geert Hendrickx To: rchopra@cal.berkeley.edu Message-ID: <20041013175012.GA23062@lori.mine.nu> References: <20041013145008.94842.qmail@web52105.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041013145008.94842.qmail@web52105.mail.yahoo.com> User-Agent: Mutt/1.4.2i X-GPG-Key: http://lori.mine.nu/gnupgkey.asc X-GPG-Key-ID: 1024D/766C1E92 X-Accept-Language: nl,en cc: questions@freebsd.org Subject: Re: Shutdown And User Intervention X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Oct 2004 17:50:30 -0000 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