PageRenderTime 355ms CodeModel.GetById 353ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/acpi/sleepbtn.sh

http://github.com/brinkman83/bashrc
Shell | 12 lines | 3 code | 4 blank | 5 comment | 1 complexity | e3e6dc4487ee8bc3b191d6642777e48b MD5 | raw file
 1#!/bin/sh
 2
 3# This script is part of the KEY TRANSLATION part of acpi-support. Compare with
 4# sleep.sh, which is part of the SUSPEND part of acpi-support. This script is
 5# intended to translate a key event which is not seen as a suspend key press by
 6# the rest of the system.
 7
 8
 9test -f /usr/share/acpi-support/key-constants || exit 0
10
11. /usr/share/acpi-support/key-constants
12acpi_fakekey $KEY_SLEEP