summaryrefslogtreecommitdiffstats
path: root/abs/core/mythtv/stable-0.24/mythplugins/mtd
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-12-10 02:39:21 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-12-10 02:39:21 (GMT)
commit62cbfd9cdba8b98cdffed685b395c596e92ed8d6 (patch)
treec6ac68ebcf58a8d21c5d814119e90cc831b8d39b /abs/core/mythtv/stable-0.24/mythplugins/mtd
parentf11f0b158d445cb25bdffd0123cab687f09a85a2 (diff)
parent5c40bb464357d486339e90f4118e4adaa8989e09 (diff)
downloadlinhes_pkgbuild-62cbfd9cdba8b98cdffed685b395c596e92ed8d6.zip
linhes_pkgbuild-62cbfd9cdba8b98cdffed685b395c596e92ed8d6.tar.gz
linhes_pkgbuild-62cbfd9cdba8b98cdffed685b395c596e92ed8d6.tar.bz2
Merge branch 'testing' of knoppmyth.net:linhes_pkgbuild into testing
Diffstat (limited to 'abs/core/mythtv/stable-0.24/mythplugins/mtd')
-rw-r--r--abs/core/mythtv/stable-0.24/mythplugins/mtd36
1 files changed, 0 insertions, 36 deletions
diff --git a/abs/core/mythtv/stable-0.24/mythplugins/mtd b/abs/core/mythtv/stable-0.24/mythplugins/mtd
deleted file mode 100644
index 1f46dfe..0000000
--- a/abs/core/mythtv/stable-0.24/mythplugins/mtd
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PID=`pidof -o %PPID /usr/bin/mtd`
-case "$1" in
- start)
- stat_busy "Starting Myth Transcoding Daemon"
- [ -z "$PID" ] && /usr/bin/mtd -d
- if [ $? -gt 0 ]; then
- stat_fail
- else
- echo $PID > /var/run/mtd.pid
- add_daemon mythtranscode
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping Myth Transcoding Daemon"
- [ ! -z "$PID" ] && kill $PID &>/dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon mtd
- stat_done
- fi
- ;;
- restart)
- $0 stop
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0