summaryrefslogtreecommitdiff
path: root/package/input-event-daemon/S99input-event-daemon
diff options
context:
space:
mode:
Diffstat (limited to 'package/input-event-daemon/S99input-event-daemon')
-rwxr-xr-xpackage/input-event-daemon/S99input-event-daemon39
1 files changed, 39 insertions, 0 deletions
diff --git a/package/input-event-daemon/S99input-event-daemon b/package/input-event-daemon/S99input-event-daemon
new file mode 100755
index 000000000..3a82b06ca
--- /dev/null
+++ b/package/input-event-daemon/S99input-event-daemon
@@ -0,0 +1,39 @@
+#! /bin/sh
+
+[ -f /usr/bin/input-event-daemon ] || exit 0
+
+start() {
+ echo -n "Starting input-event-daemon: "
+ input-event-daemon
+ echo "done"
+}
+
+
+stop() {
+ echo -n "Stopping input-event-daemon: "
+ killall input-event-daemon
+ echo "done"
+}
+
+restart() {
+ stop
+ start
+}
+
+# See how we were called.
+case "$1" in
+ start)
+ start
+ ;;
+ stop)
+ stop
+ ;;
+ restart|reload)
+ restart
+ ;;
+ *)
+ echo "Usage: $0 {start|stop|reload|restart}"
+ exit 1
+esac
+
+exit $?