summaryrefslogtreecommitdiff
path: root/source/a/acpid/default
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/acpid/default')
-rw-r--r--source/a/acpid/default18
1 files changed, 18 insertions, 0 deletions
diff --git a/source/a/acpid/default b/source/a/acpid/default
new file mode 100644
index 00000000..db123390
--- /dev/null
+++ b/source/a/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/acpi_handler.sh %e