File: sleepbtn.sh

package info (click to toggle)
acpi-support 0.137-5
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,008 kB
  • ctags: 9
  • sloc: sh: 1,330; makefile: 58; ansic: 51
file content (12 lines) | stat: -rw-r--r-- 398 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

# This script is part of the KEY TRANSLATION part of acpi-support. Compare with
# sleep.sh, which is part of the SUSPEND part of acpi-support. This script is
# intended to translate a key event which is not seen as a suspend key press by
# the rest of the system.


test -f /usr/share/acpi-support/key-constants || exit 0

. /usr/share/acpi-support/key-constants
acpi_fakekey $KEY_SLEEP