home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / share / doc / acpid / examples / ac next >
Encoding:
Text File  |  2006-07-20  |  308 b   |  12 lines

  1. # /etc/acpid/events/ac
  2. # This detects changes to AC power status, and passes them to
  3. # /etc/acpi/ac.sh for further processing.
  4.  
  5. # Optionally you can specify the placeholder %e. It will pass
  6. # through the whole kernel event message to the program you've
  7. # specified.
  8.  
  9. event=ac_adapter
  10. action=/etc/acpi/ac.sh
  11.  
  12.