summaryrefslogtreecommitdiff
path: root/acpid/default
diff options
context:
space:
mode:
authorMikhail Kolesnik <mike@openbunker.org>2006-11-13 22:01:22 +0200
committerMikhail Kolesnik <mike@openbunker.org>2006-11-13 22:01:22 +0200
commit0678e2be741e0baa5b2a753250d0c1a00a2f2035 (patch)
tree35a7cc31798ea73a8dd4d16d1e682017d05f9dc4 /acpid/default
parent642651a64674bf8de446bf61fe718f81f94413c4 (diff)
downloadcontrib-0678e2be741e0baa5b2a753250d0c1a00a2f2035.tar.gz
contrib-0678e2be741e0baa5b2a753250d0c1a00a2f2035.tar.xz
acpid: initial import from attic
Diffstat (limited to 'acpid/default')
-rw-r--r--acpid/default18
1 files changed, 18 insertions, 0 deletions
diff --git a/acpid/default b/acpid/default
new file mode 100644
index 000000000..d1ca63c64
--- /dev/null
+++ b/acpid/default
@@ -0,0 +1,18 @@
+# This is the ACPID default configuration, it takes all
+# events and passes them to /etc/acpi/default.sh for further
+# processing.
+
+# event keeps a regular expression matching the event. To get
+# power events only, just use something like "event=button power.*"
+# to catch it.
+# action keeps the command to be executed after an event occurs
+# In case of the power event above, your entry may look this way:
+#event=button power.*
+#action=/sbin/init 0
+
+# Optionally you can specify the placeholder %e. It will pass
+# through the whole kernel event message to the program you've
+# specified.
+
+event=.*
+action=/etc/acpi/default.sh %e

Generated by cgit