Subject: Re: Kernel <-> init communication for shutdown
To: None <eeh@netbsd.org>
From: Luke Mewburn <lukem@wasabisystems.com>
List: tech-kern
Date: 01/15/2001 08:59:11
On Sun, Jan 14, 2001 at 05:25:32PM -0000, eeh@netbsd.org wrote:
> 	On Solaris, when inside X (running CDE) the shutdown doesn't happen imediately,
> 	but a requester prompts the user for the action he would like to happen, giving
> 	him "shutdown", "suspend" and "abort" as options.
> 
> I don't think it's a good idea to have a single key turn off the
> machine.  I have had many instances where I have hit the power
> key on SPARCs accidentally or the screen is blank and I think it's
> shut down.  I think we need some way to verify the intention before
> shutting down on that keystroke.

Ty Sarna's suggestion in his response about having configurable actions
to occur, with them being `off' by default, seemed reasonable to me.

It wouldn't change existing behaviour, but allows people who want the
ability to press the power button to DTRT.

Just because you don't want a system to shutdown on pressing the power
button, or reboot on CTRL-ALT-DEL (on i386), doesn't mean we shouldn't
provide that functionality for people if they so desire.