From 9aaeb4623d3ff5746e665bc17914eefd292b7dcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20K=C3=BChling?= Date: Sun, 2 Jan 2011 15:19:00 +0100 Subject: New OpenWrt package for GNU Octave. Experimental/probably still broken. Work in progress. Committing it as compilation seems to take forever. Not sure whether I can finish this within a few days. --- triggersad/files/triggerhappy.init | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 triggersad/files/triggerhappy.init (limited to 'triggersad/files/triggerhappy.init') diff --git a/triggersad/files/triggerhappy.init b/triggersad/files/triggerhappy.init new file mode 100644 index 0000000..e846d29 --- /dev/null +++ b/triggersad/files/triggerhappy.init @@ -0,0 +1,10 @@ +#!/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 +} -- cgit v1.2.3