Subject: Re: Front panel power button
To: Martin Husemann <>
From: Greywolf <>
List: port-sparc64
Date: 04/21/2003 14:32:33
Thus spake Martin Husemann ("MH> ") sometime Today...

MH> > Well, I hope that the default behavior of this button won't be power down.
MH> > It's a bit too easy to hit, I think :)
MH> Actually it is (and as far as I can tell always has been).

Default action while the machine is up and in multi-user mode
do nothing.  The keyboard power button is typically only effective from
the PROM level unless you map it otherwise.

MH> It's easily customizable though, set powerd=YES in rc.conf and rmove the
MH> /etc/powerd/scripts/power_button script to make it do nothing (or replace
MH> by a script of your liking). See powerd(8) for details.
MH> Without powerd running it just initiates an imediate "halt -p" equivalent,
MH> but the new code does this with better chances of file systems being synced.

MH> Martin

NetBSD: a server in every port.