1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-07-17 13:24:26 +03:00
openwrt-packages/nanonote-files/data/qi_lb60/files/etc/triggerhappy/triggers.d/poweroff.conf
2012-04-04 18:28:32 +08:00

14 lines
407 B
Plaintext
Executable File

# This is an example configuration for the triggerhappy daemon (thd)
# please note that every file to be processed must end in ".conf"
#
# To view a list of supported event codes, use "thd --listevents" or
# "thd --dump /dev/input/event*"
#
# Format:
# <eventcode> <value> <command>
#
# values for key events are 1 (pressed), 0 (released) or 2 (held)
#
## control an mpd instance
KEY_POWER 1 /sbin/poweroff