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. _______________________________________________ Debian-eeepc-devel mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/debian-eeepc-devel
