File: powerbtn

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 (13 lines) | stat: -rw-r--r-- 423 bytes parent folder | download | duplicates (20)
1
2
3
4
5
6
7
8
9
10
11
12
13
# /etc/acpi/events/powerbtn
# This is called when the user presses the power button and calls
# /etc/acpi/powerbtn.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.

# We need to react on "button power.*" and "button/power.*" because
# of kernel changes.

event=button[ /]power
action=/etc/acpi/powerbtn.sh