summarylogtreecommitdiffstats
path: root/spacenavd
diff options
context:
space:
mode:
authorJesus Alvarez2020-01-08 21:03:32 -0800
committerJesus Alvarez2020-01-08 21:03:32 -0800
commitd846d5c60bdd005537d1a06338cd58699de1b4c6 (patch)
treeec6a6c54ba6fdf990389858c5a894b9b4113adeb /spacenavd
parente85a485c536ad52dfb857d112c0afe211c145cf4 (diff)
downloadaur-d846d5c60bdd005537d1a06338cd58699de1b4c6.tar.gz
Update to spacenavd-0.7
Diffstat (limited to 'spacenavd')
-rw-r--r--spacenavd38
1 files changed, 0 insertions, 38 deletions
diff --git a/spacenavd b/spacenavd
deleted file mode 100644
index 61946197c40b..000000000000
--- a/spacenavd
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-DAEMON=/usr/bin/spacenavd
-
-PID=`pidof -o %PPID $DAEMON`
-case "$1" in
- start)
- stat_busy "Starting Spacenavigator Daemon"
- [ -z "$PID" ] && $DAEMON
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon spacenavd
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping Spacenavigator Daemon"
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon spacenavd
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0