Subject: Re: Front panel power button
To: Martin Husemann <martin@duskware.de>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-sparc64
Date: 04/21/2003 23:34:35
On Mon, Apr 21, 2003 at 11:29:38PM +0200, Martin Husemann wrote:
> On Mon, Apr 21, 2003 at 11:19:58PM +0200, Manuel Bouyer wrote:
> > Well, I hope that the default behavior of this button won't be power down.
> > It's a bit too easy to hit, I think :)
> 
> Actually it is (and as far as I can tell always has been).
> 
> It's easily customizable though, set powerd=YES in rc.conf and rmove the
> /etc/powerd/scripts/power_button script to make it do nothing (or replace
> by a script of your liking). See powerd(8) for details.
> 
> Without powerd running it just initiates an imediate "halt -p" equivalent,
> but the new code does this with better chances of file systems being synced.

Are we talking about the front power button on the box, or the power button
on the keyboard ?

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 24 ans d'experience feront toujours la difference
--