diff options
author | 2008-04-04 19:59:36 +0000 | |
---|---|---|
committer | 2008-04-04 19:59:36 +0000 | |
commit | af7ee36a28da93785a50e36805e6d2e9e0d2acf6 (patch) | |
tree | e635b92c3e088b65171a5f401212ece221cf1d33 /media-plugins/mythvideo/files | |
parent | fix bug #216091. crash when stringlist was non-existant (diff) | |
download | gentoo-2-af7ee36a28da93785a50e36805e6d2e9e0d2acf6.tar.gz gentoo-2-af7ee36a28da93785a50e36805e6d2e9e0d2acf6.tar.bz2 gentoo-2-af7ee36a28da93785a50e36805e6d2e9e0d2acf6.zip |
re-add missing mtd init script. bug #216137
(Portage version: 2.1.4.4)
Diffstat (limited to 'media-plugins/mythvideo/files')
-rw-r--r-- | media-plugins/mythvideo/files/mtd.init.d | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/media-plugins/mythvideo/files/mtd.init.d b/media-plugins/mythvideo/files/mtd.init.d new file mode 100644 index 000000000000..ada7cadb94ef --- /dev/null +++ b/media-plugins/mythvideo/files/mtd.init.d @@ -0,0 +1,24 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +depend() { + need net + use mysql +} + +start() { + + ebegin "Starting MythTV Transcoding Daemon" + start-stop-daemon --start --quiet \ + --exec /usr/bin/mtd \ + --make-pidfile --pidfile /var/run/mtd.pid \ + --background + eend $? +} + +stop () { + ebegin "Stopping MythTV Transcoding Daemon" + start-stop-daemon --stop --quiet --pidfile=/var/run/mtd.pid + eend $? +} |