/acpi/events/sleepbtn

http://github.com/brinkman83/bashrc · #! · 10 lines · 7 code · 3 blank · 0 comment · 0 complexity · 8c17877f478940266326dc272347df64 MD5 · raw file

  1. # /etc/acpi/events/sleepbtn
  2. # Called when the user presses the sleep button
  3. # Note that this script is part of the SUSPEND part of acpi-support. This is
  4. # not a key translation event, it is intended to perform a suspend if no
  5. # power management daemon is running.
  6. event=button[ /]sleep
  7. action=/etc/acpi/sleep.sh