[Debian-eeepc-devel] Temporarily disabling lid-close-suspend
Phil Endecott
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?
> esac
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 ;;
*close) ;;
*) # exit with a warning message maybe?
esac
Phil.
More information about the Debian-eeepc-devel
mailing list