*** This bug is a duplicate of bug 529686 ***
https://bugs.launchpad.net/bugs/529686
I had a problem with power button on my Dell Optiplex GX270 in lucid (Server
Edit.).
I just copied a old script:
# /etc/acpi/powerbtn.sh
from another machine (server too) and now it works perfect :)
$ cat /etc/acpi/powerbtn.sh
#!/bin/sh
# /etc/acpi/powerbtn.sh
# Initiates a shutdown when the power putton has been
# pressed.
# Skip if we just in the middle of resuming.
test -f /var/lock/acpisleep && exit 0
# If gnome-power-manager or kded4 are running, let
# them handle policy This is effectively the same as 'acpi-support's
# '/usr/share/acpi-support/policy-funcs' file.
if pidof gnome-power-manager kded4 > /dev/null; then
exit
fi
# If all else failed, just initiate a plain shutdown.
/sbin/shutdown -h now "Power button pressed"
--
powerbtn.sh assumes acpi-support is installed.
https://bugs.launchpad.net/bugs/539432
You received this bug notification because you are a direct subscriber
of the bug (via bug 529686).
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
acpi-bugzilla mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla