Guest User

Untitled

a guest
Nov 9th, 2011
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. root@user-laptop:/home/user# cat /etc/acpi/events/powerbtn
  2. # /etc/acpi/events/powerbtn
  3. # This is called when the user presses the power button and calls
  4. # /etc/acpi/powerbtn.sh for further processing.
  5.  
  6. # Optionally you can specify the placeholder %e. It will pass
  7. # through the whole kernel event message to the program you've
  8. # specified.
  9.  
  10. # We need to react on "button power.*" and "button/power.*" because
  11. # of kernel changes.
  12.  
  13. event=button[ /]power
  14. action=/etc/acpi/powerbtn.sh
  15. root@user-laptop:/home/user#
  16.  
  17.  
Advertisement
Add Comment
Please, Sign In to add comment