File: ac

package info (click to toggle)
acpid 1.0.4-5etch2
  • links: PTS
  • area: main
  • in suites: etch
  • size: 232 kB
  • ctags: 136
  • sloc: ansic: 1,336; perl: 283; sh: 133; makefile: 78
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