Re: Let init know user wants to shutdown

John Fremlin
2001-04-11T14:56:50Z

"Grover, Andrew" <andrew.grover@intel.com> writes:

> This is not correct, because we want the power button to be
> configurable. The user should be able to redefine the power
> button's action, perhaps to only sleep the system. We currently
> surface button events to acpid, which then can do the right thing,
> including a shutdown -h now (which I assume notifies init).

That's just fine and dandy, but

[...]

> > + printk ("acpi: Power button pressed!\n");

[...]

> > + printk("acpi: Sleep button pressed!\n");

Do you think you could keep the above part of the patch? It would be
nice to know how much of ACPI was actually working ;-)

[...]

--