milis/talimatname/genel/a/acpid/lid.sh

4 lines
91 B
Bash
Raw Normal View History

2016-02-24 01:27:23 +01:00
#!/bin/sh
/bin/grep -q open /proc/acpi/button/lid/LID/state && exit 0
/usr/sbin/pm-suspend