On 9/15/06, Mick <[EMAIL PROTECTED]> wrote:
case "$group" in
button)
case "$action" in
power)
/sbin/init 0
;;
You need to add a "sleep" case here to do whatever you want to happen when you press the pwer button...
*) log_unhandled $* ;;
...or this case is executed. The "log_unhandled" function generates a
message in the form of:
ACPI event unhandled: button/foo
Sound familiar? ;-)
So if you want power to shutdown nicely, try adding:
sleep)
/sbin/init 0
-Richard
--
[email protected] mailing list

