[Debian-eeepc-devel] Temporarily disabling lid-close-suspend
phil_dlhbb_endecott at chezphil.org
Tue Sep 16 22:36:18 UTC 2008
Phil Endecott wrote:
> # Ignore lid-open events
> case `cat /proc/acpi/button/lid/LID/state` in
> open) exit 0 ;;
> close) ;;
> *) # exit with a warning message maybe?
D'oh. Except that's actually the wrong version. The content of the
file says "state: open" or "state: closed".
# Ignore lid-open events
case `cat /proc/acpi/button/lid/LID/state` in
*open) exit 0 ;;
*) # exit with a warning message maybe?
More information about the Debian-eeepc-devel