Comment 7 for bug 863834

Revision history for this message
James (loope) wrote :

I fixed this on my system by adding a script with the following content to /etc/acpi/local/lid.sh.post

#!/bin/bash

grep -q closed /proc/acpi/button/lid/*/state
if [ $? = 0 ]
then

/usr/sbin/pm-suspend

fi