Erez Doron wrote:
hi

i'm looking for a way to shutdown linux via the power button.
if i press it while it is running windows, it shuts down all apps, then turns of
if i press it while running linux, it will turn of immidiatly.


i want it to shut down as if i press 'ctrl-alt-del' in a VT (but i do not have a keyboard at all)


any idea ?



look into acpid -- http://acpid.sourceforge.net/ -- it's supposed to capture ACPI events (like "power button was pressed") and let you configure what happens for each event.



--



Please avoid sending me Word or PowerPoint attachments. See http://www.fsf.org/philosophy/no-word-attachments.html

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Reply via email to