pentoo-overlay/sys-power/acpid/files/acpid-1.0.4-default
Zero_Chaos e4ff37c83b sys-power/acpid: added our own acpid so I could influence the processor on AC vs on BATT
this action should completely replace cpufreqd and waste less CPU
2010-10-08 17:24:38 +00:00

19 lines
663 B
Text

# /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