[Debian-eeepc-devel] Temporarily disabling lid-close-suspend
Paul Menzel
paulepanter at users.sourceforge.net
Wed Sep 17 06:06:37 UTC 2008
Dear list,
Am Dienstag, den 16.09.2008, 23:36 +0100 schrieb Phil Endecott:
> 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) ;;
So do you mean s/close/closed/ in the line above? I did not see a
difference in the code between the two posts.
> *) # exit with a warning message maybe?
> esac
Thanks,
Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://lists.alioth.debian.org/pipermail/debian-eeepc-devel/attachments/20080917/ca2fc405/attachment.pgp
More information about the Debian-eeepc-devel
mailing list