1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-23 04:16:14 +02:00
openwrt-packages/triggersad/files/triggerhappy.init
2010-11-20 19:43:19 +03: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
}