summaryrefslogtreecommitdiffstats
path: root/abs/core/lirc-utils/lircmd
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2011-07-24 02:01:30 (GMT)
committerCecil <knoppmyth@gmail.com>2011-07-24 02:01:30 (GMT)
commitd074c3b2181188446d626fa473ee64c7dc66bc57 (patch)
treef9cb7d9ecd273a4a3367787a04932573c5dec2c7 /abs/core/lirc-utils/lircmd
parent5349364d8cb03780a54d04222a43e7f626e03669 (diff)
downloadlinhes_pkgbuild-d074c3b2181188446d626fa473ee64c7dc66bc57.zip
linhes_pkgbuild-d074c3b2181188446d626fa473ee64c7dc66bc57.tar.gz
linhes_pkgbuild-d074c3b2181188446d626fa473ee64c7dc66bc57.tar.bz2
lirc-utils:Removed as lirc is now a meta-package that contains lirc and lirc-utils.
Diffstat (limited to 'abs/core/lirc-utils/lircmd')
-rwxr-xr-xabs/core/lirc-utils/lircmd36
1 files changed, 0 insertions, 36 deletions
diff --git a/abs/core/lirc-utils/lircmd b/abs/core/lirc-utils/lircmd
deleted file mode 100755
index 220c47c..0000000
--- a/abs/core/lirc-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