shutdown on pressing the ATX power button

Sergei Haller (Sergei.Haller@math.uni-giessen.de)
Wed, 8 Aug 2001 13:52:52 +0200 (CEST)


high!

is there any way to let the system execute something by pressing the ATX
power button (preferrable executing 'shutdown -h now', but would be nice
if it was configurable)

I looked into the (very large) list archive but didnt find any answer.
if it is a kind of FAQ or off topic, please point me to the place I could
find an answer.

PS.: Im not on the list, so please CC to my address if possible.
(but its not vital as I also could look into the archive)

Thanks in advance

Sergei

--------------------------------------------------------------------
eMail: Sergei.Haller@math.uni-giessen.de
--------------------------------------------------------------------
Be careful of reading health books, you might die of a misprint.
-- Mark Twain

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/