summaryrefslogtreecommitdiffstats
path: root/abs/core/lirc_085-utils/lircmd
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2011-01-31 04:46:36 (GMT)
committerCecil <knoppmyth@gmail.com>2011-01-31 04:46:36 (GMT)
commit2936c972979cc953a31ee0495e859d378d12758e (patch)
tree7a0cd5b2f76590cdcc6c1ca45d2a56957aec9d22 /abs/core/lirc_085-utils/lircmd
parentdef2a0912c54c6213c0848ba732b58557869eafa (diff)
downloadlinhes_pkgbuild-2936c972979cc953a31ee0495e859d378d12758e.zip
linhes_pkgbuild-2936c972979cc953a31ee0495e859d378d12758e.tar.gz
linhes_pkgbuild-2936c972979cc953a31ee0495e859d378d12758e.tar.bz2
lirc_085-utils:removed obsolete
Diffstat (limited to 'abs/core/lirc_085-utils/lircmd')
-rwxr-xr-xabs/core/lirc_085-utils/lircmd36
1 files changed, 0 insertions, 36 deletions
diff --git a/abs/core/lirc_085-utils/lircmd b/abs/core/lirc_085-utils/lircmd
deleted file mode 100755
index 220c47c..0000000
--- a/abs/core/lirc_085-utils/lircmd
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PID=`pidof -o %PPID /usr/sbin/lircmd`
-case "$1" in
- start)
- stat_busy "Starting lircmd Daemon"
- [ -z "$PID" ] && /usr/sbin/lircmd
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon lircmd
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping lircmd Daemon"
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon lircmd
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0