diff options
author | Cecil <knoppmyth@gmail.com> | 2011-01-31 04:46:36 (GMT) |
---|---|---|
committer | Cecil <knoppmyth@gmail.com> | 2011-01-31 04:46:36 (GMT) |
commit | 2936c972979cc953a31ee0495e859d378d12758e (patch) | |
tree | 7a0cd5b2f76590cdcc6c1ca45d2a56957aec9d22 /abs/core/lirc_085-utils/lircd | |
parent | def2a0912c54c6213c0848ba732b58557869eafa (diff) | |
download | linhes_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/lircd')
-rwxr-xr-x | abs/core/lirc_085-utils/lircd | 43 |
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 |