summaryrefslogtreecommitdiff
path: root/extra/keytouch/keytouch.daemon
diff options
context:
space:
mode:
Diffstat (limited to 'extra/keytouch/keytouch.daemon')
-rwxr-xr-xextra/keytouch/keytouch.daemon38
1 files changed, 0 insertions, 38 deletions
diff --git a/extra/keytouch/keytouch.daemon b/extra/keytouch/keytouch.daemon
deleted file mode 100755
index d705b3dfc..000000000
--- a/extra/keytouch/keytouch.daemon
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PID=$(pidof -o %PPID /usr/bin/keytouch-acpid)
-case "$1" in
- start)
- stat_busy "Starting keyTouch Daemon"
- /usr/bin/keytouch-init
- if [ -z "$PID" ]; then
- /usr/bin/keytouch-acpid &> /dev/null &
- fi
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon keytouch
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping keyTouch Daemon"
- [ ! -z "$PID" ] && kill $PID &>/dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon keytouch
- stat_done
- fi
- ;;
- restart)
- $0 stop
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0