summaryrefslogtreecommitdiffstats
path: root/abs/core/mythtv/old/stable-0.21/mythvideo/mtd
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2011-11-06 22:08:43 (GMT)
committerJames Meyer <james.meyer@operamail.com>2011-11-06 22:08:43 (GMT)
commit7b658e2f4f9fa8c3cffa92a2359d904c30709598 (patch)
tree13c653c0fb35a44c2619b97c4579667bb8a3ff93 /abs/core/mythtv/old/stable-0.21/mythvideo/mtd
parentdf96ab68ee288fd64c74b3e4957dc80669b9933d (diff)
downloadlinhes_pkgbuild-7b658e2f4f9fa8c3cffa92a2359d904c30709598.zip
linhes_pkgbuild-7b658e2f4f9fa8c3cffa92a2359d904c30709598.tar.gz
linhes_pkgbuild-7b658e2f4f9fa8c3cffa92a2359d904c30709598.tar.bz2
remove old mythtv builds.
Diffstat (limited to 'abs/core/mythtv/old/stable-0.21/mythvideo/mtd')
-rw-r--r--abs/core/mythtv/old/stable-0.21/mythvideo/mtd36
1 files changed, 0 insertions, 36 deletions
diff --git a/abs/core/mythtv/old/stable-0.21/mythvideo/mtd b/abs/core/mythtv/old/stable-0.21/mythvideo/mtd
deleted file mode 100644
index 1f46dfe..0000000
--- a/abs/core/mythtv/old/stable-0.21/mythvideo/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