lid.sh 91 B

1234
  1. #!/bin/sh
  2. /bin/grep -q open /proc/acpi/button/lid/LID/state && exit 0
  3. /usr/sbin/pm-suspend