Don’t know you, but it has already happened to me to shut down a running server by accidently pressing the power button. Linux intercepted the event and quickly started the power down procedure, sadly bringing my infrastructure to its knees.
But not anymore! In Debian it’s really easy to disable this behaviour. All you have to do is edit
with your preferred editor and comment out the line
/sbin/shutdown -h now "Power button pressed"
That’s all. Just tested on a Debian 4.0 Etch installation.