Phil Knirsch efb245
# ACPID config to power down machine if powerbutton is pressed, but only if
Phil Knirsch efb245
# no gnome-power-manager is running
Phil Knirsch efb245
Phil Knirsch efb245
event=button/power.*
Phil Knirsch efb245
action=/bin/ps awwux | /bin/grep gnome-power-manager | /bin/grep -qv grep || /sbin/shutdown -h now