File: ac

package info (click to toggle)
acpid 1.0.8-1lenny4
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 292 kB
  • ctags: 133
  • sloc: ansic: 1,330; perl: 283; sh: 190; makefile: 89
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