[CentOS] Shutting down an ATX machine from Power Button

Sat Nov 12 11:22:45 UTC 2005
Sanjay Arora <sanjay.k.arora at gmail.com>

Can someone please tell me how to configure Centos/Linux so it shuts
down properly by pressing the Power button on the ATX cabinet, just as
if someone had given a shutdown -h now command.

With regards.
Sanjay.