File: ac

package info (click to toggle)
acpid 1%3A2.0.34-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,152 kB
  • sloc: sh: 4,602; ansic: 4,382; perl: 283; makefile: 37
file content (11 lines) | stat: -rw-r--r-- 308 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
# /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