1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-19 17:37:31 +02:00
openwrt-packages/utils/triggerhappy/files/triggerhappy.init
Xiangfu Liu 9c9b62d9fd Revert "remove <triggerhappy> since it went upstream"
since the upstream triggerhappy 0.1.5 not working in NanoNote
  use decide use the old one 0.1.3 with kyak's patch

This reverts commit 18ed9b5cdf.
2010-11-21 00:02:07 +08:00

11 lines
235 B
Bash

#!/bin/sh /etc/rc.common
START=93
start() {
/usr/sbin/thd --socket /tmp/triggerhappy.socket --triggers /etc/triggerhappy/triggers.d/ --daemon /dev/input/event*
}
stop() {
/usr/sbin/th-cmd --socket /tmp/triggerhappy.socket --quit
}