summaryrefslogtreecommitdiffstats
path: root/abs/core/lirc_085-utils/lircd
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2011-02-01 03:42:19 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2011-02-01 03:42:19 (GMT)
commit161ce75ef37b5e4b705f00d8e61d25ae8c3e9b3d (patch)
treee3ca8051dd5425db7cb7ad639d65a929819c1760 /abs/core/lirc_085-utils/lircd
parent346120bb7c2c5b9df8ef885bf67349da9f6c6c04 (diff)
parenteae6f5c50c7e809a7fb9438277b96375f86fa5f6 (diff)
downloadlinhes_pkgbuild-161ce75ef37b5e4b705f00d8e61d25ae8c3e9b3d.zip
linhes_pkgbuild-161ce75ef37b5e4b705f00d8e61d25ae8c3e9b3d.tar.gz
linhes_pkgbuild-161ce75ef37b5e4b705f00d8e61d25ae8c3e9b3d.tar.bz2
Merge branch 'testing' of knoppmyth.net:linhes_pkgbuild into testing
Diffstat (limited to 'abs/core/lirc_085-utils/lircd')
-rwxr-xr-xabs/core/lirc_085-utils/lircd43
1 files changed, 0 insertions, 43 deletions
diff --git a/abs/core/lirc_085-utils/lircd b/abs/core/lirc_085-utils/lircd
deleted file mode 100755
index f4686d7..0000000
--- a/abs/core/lirc_085-utils/lircd
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/lircd
-
-PID=$(pidof -o %PPID /usr/sbin/lircd)
-case "$1" in
- start)
- stat_busy "Starting LIRC Daemon"
- [ -n "$LIRC_DRIVER" ] && LIRC_EXTRAOPTS="-H $LIRC_DRIVER $LIRC_EXTRAOPTS"
- [ -z "$PID" ] &&
- if [ -n "$LIRC_DEVICE" ] ; then
- /usr/sbin/lircd -d "$LIRC_DEVICE" $LIRC_EXTRAOPTS $LIRC_CONFIGFILE
- else
- /usr/sbin/lircd $LIRC_EXTRAOPTS $LIRC_CONFIGFILE
- fi
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon lircd
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping LIRC Daemon"
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon lircd
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0