~ubuntu-branches/ubuntu/lucid/acpid/lucid-updates

« back to all changes in this revision

Viewing changes to examples/default

  • Committer: Bazaar Package Importer
  • Author(s): Michael Meskes
  • Date: 2009-11-17 14:50:01 UTC
  • mfrom: (2.1.12 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091117145001-y5hevyg7gcg6uwjk
Tags: 1.0.10-4
Updated netlink patch to version 6.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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