summaryrefslogtreecommitdiff
path: root/extra/keytouch/keytouch.daemon
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-10-17 14:16:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-10-17 14:16:38 +0000
commite1b3d592f43a99f4ed7c91971deda6ce8414dd69 (patch)
tree38fecdc19b201d4d28df13c22e9b3b45bb469e4b /extra/keytouch/keytouch.daemon
parentd286d980d2ff42151e9bc81ec348c864c24f9cc4 (diff)
Mon Oct 17 14:16:38 UTC 2011
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