linuxOS_AP05/debian/test/usr/share/doc/acpid/examples/ac
2025-09-26 09:40:02 +08:00

12 lines
308 B
Plaintext

# /etc/acpid/events/ac
# This detects changes to AC power status, and passes them to
# /etc/acpi/ac.sh for further processing.
# Optionally you can specify the placeholder %e. It will pass
# through the whole kernel event message to the program you've
# specified.
event=ac_adapter
action=/etc/acpi/ac.sh