tstellar / rpms / acpid

Forked from rpms/acpid 3 years ago
Clone
efb245c
# ACPID config to power down machine if powerbutton is pressed, but only if
efb245c
# no gnome-power-manager is running
efb245c
efb245c
event=button/power.*
efb245c
action=/bin/ps awwux | /bin/grep gnome-power-manager | /bin/grep -qv grep || /sbin/shutdown -h now