Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jan 2005 21:50:10 -0600
From:      Craig Boston <craig@feniz.gank.org>
To:        freebsd-stable@freebsd.org
Subject:   Re: fsck: broken file system with background check remains broken after bootup
Message-ID:  <20050105035009.GA88792@nowhere>
In-Reply-To: <20050105032901.GB8708@squash.dsto.defence.gov.au>
References:  <41DA7D20.8000704@yahoo.com> <200501041301.j04D1MuU021095@lurza.secnetix.de> <20050105032901.GB8708@squash.dsto.defence.gov.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 05, 2005 at 01:59:01PM +1030, Wilkinson, Alex wrote:
> This inspires me to ask this question:
> 
> Is it possible to set up FreeBSD to do a clean shutdown upon a pressing
> the power button ? i.e. in the same fashion as Solaris does out of the
> box.  Is this an ATX feature or a kernel feature in the PC world ?

Yes, in FreeBSD 5.3 if ACPI is enabled and working properly, pressing
the power button will initiate a graceful shutdown (similar to shutdown
-p).  This feature is enabled by default if it is available, so you
don't have to do anything special to get it.

The usual "if you have weird hardware there are no guarantees"
disclaimer applies, but I've never had a problem with the software
controlled power button on any fairly recent hardware.

Craig



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050105035009.GA88792>