X-Git-Url: https://git.sthu.org/?a=blobdiff_plain;f=lenovo-x220-linuxacpi%2Fetc%2Facpi%2Fevents%2Fdefault;fp=lenovo-x220-linuxacpi%2Fetc%2Facpi%2Fevents%2Fdefault;h=a07c1827f4e9f422ca3fcd139c5e4659bb8a9367;hb=3940751562b91c8ff785e902a618cc0bf71e2b5e;hp=0000000000000000000000000000000000000000;hpb=ba8d944658a4e8b99d9c5e4762da74ca5475d213;p=shutils.git diff --git a/lenovo-x220-linuxacpi/etc/acpi/events/default b/lenovo-x220-linuxacpi/etc/acpi/events/default new file mode 100644 index 0000000..a07c182 --- /dev/null +++ b/lenovo-x220-linuxacpi/etc/acpi/events/default @@ -0,0 +1,19 @@ +# /etc/acpi/events/default +# 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