home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / share / doc / acpid / examples / default < prev   
Encoding:
Text File  |  2006-07-20  |  630 b   |  19 lines

  1. # This is the ACPID default configuration, it takes all
  2. # events and passes them to /etc/acpi/default.sh for further
  3. # processing.
  4.  
  5. # event keeps a regular expression matching the event. To get
  6. # power events only, just use something like "event=button power.*"
  7. # to catch it.
  8. # action keeps the command to be executed after an event occurs
  9. # In case of the power event above, your entry may look this way:
  10. #event=button power.*
  11. #action=/sbin/init 0
  12.  
  13. # Optionally you can specify the placeholder %e. It will pass
  14. # through the whole kernel event message to the program you've
  15. # specified.
  16.  
  17. event=.*
  18. action=/etc/acpi/default.sh %e
  19.