[packages] utils/triggerhappy: fix path to linux/input.h
[openwrt/svn-archive/archive.git] / utils / triggerhappy / files / triggerhappy.init
1 #!/bin/sh /etc/rc.common
2 START=93
3
4 start() {
5 /usr/sbin/thd --socket /tmp/triggerhappy.socket --triggers /etc/triggerhappy/triggers.d/ --daemon /dev/input/event*
6 }
7
8 stop() {
9 /usr/sbin/th-cmd --socket /tmp/triggerhappy.socket --quit
10 }