Displaying 1 result from an estimated 1 matches for "awwux".
Did you mean:
awux
2010 Jan 29
0
Hibernating a laptop with the power button (Thinkpax X31) under CentOS 5.4
...get hibernation to work when I
press the power button on my Thinkpad X31 under CentOS 5.4.
I've modified /etc/acpi/events/power.conf to contain:
# ACPID config to power down machine if powerbutton is pressed, but only if
# no gnome-power-manager is running
event=button/power.*
action=/bin/ps awwux | /bin/grep gnome-power-manager | /bin/grep -qv grep || /sbin/shutdown -h now
And restarted acpid (sudo /sbin/service acpid restart).
I don't run gnome, so there won't be a gnome-power-manager process
running.
When I press the power button nothing happens (acpid does log that it
ran the...