PageRenderTime 699ms CodeModel.GetById 696ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 1ms

/acpi/events/powerbtn

http://github.com/brinkman83/bashrc
#! | 13 lines | 10 code | 3 blank | 0 comment | 0 complexity | 57f021ab2369f211018d6e7d11434314 MD5 | raw file
 1# /etc/acpi/events/powerbtn
 2# This is called when the user presses the power button and calls
 3# /etc/acpi/powerbtn.sh for further processing.
 4
 5# Optionally you can specify the placeholder %e. It will pass
 6# through the whole kernel event message to the program you've
 7# specified.
 8
 9# We need to react on "button power.*" and "button/power.*" because
10# of kernel changes.
11
12event=button[ /]power
13action=/etc/acpi/powerbtn.sh