/usr/share/doc/acpid/examples/ac is in acpid 1:2.0.28-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 | # /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
|