milis/talimatname/genel/a/acpid/lid.sh
2017-10-27 15:31:13 +03:00

3 lines
91 B
Bash

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