Description of problem: # cat /var/log/sleep.log + PATH=/sbin:/bin:/usr/bin + grep -q closed /proc/acpi/button/lid/LID/state grep: /proc/acpi/button/lid/LID/state: No such file or directory + exit On my machine the file is /proc/acpi/button/lid/LID0/state Version-Release number of selected component (if applicable): kernel 3.10.11-200.fc19.i686.PAE acpid-2.0.19-6.fc19.i686
Interesting, on my machine it works: $ cat /proc/acpi/button/lid/LID/state state: closed $ uname -r 3.10.11-200.fc19.x86_64 And same on different machine running rawhide. I guess it depends on what ACPI returns. Maybe more LID switches on your system? But I will add fallback for it.
Oh, sorry, I cannot find the sleep.sh (I originally thought it is in acpid or pm-utils :). What package are you talking about? Btw this is not acpid fault and it is not possible to fix/workaround it in acpid, maybe it is your custom script?
Very sorry for that, how embarrassing, it is indeed our own script.