From: | "Doug Klima (cardoe)" <cardoe@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-plugins/mythvideo/files: mtd.init.d |
Date: | Fri, 04 Apr 2008 19:59:39 |
Message-Id: | E1Jhs4X-0008E3-28@stork.gentoo.org |
1 | cardoe 08/04/04 19:59:37 |
2 | |
3 | Added: mtd.init.d |
4 | Log: |
5 | re-add missing mtd init script. bug #216137 |
6 | (Portage version: 2.1.4.4) |
7 | |
8 | Revision Changes Path |
9 | 1.1 media-plugins/mythvideo/files/mtd.init.d |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/mythvideo/files/mtd.init.d?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/mythvideo/files/mtd.init.d?rev=1.1&content-type=text/plain |
13 | |
14 | Index: mtd.init.d |
15 | =================================================================== |
16 | #!/sbin/runscript |
17 | # Copyright 1999-2004 Gentoo Foundation |
18 | # Distributed under the terms of the GNU General Public License v2 |
19 | |
20 | depend() { |
21 | need net |
22 | use mysql |
23 | } |
24 | |
25 | start() { |
26 | |
27 | ebegin "Starting MythTV Transcoding Daemon" |
28 | start-stop-daemon --start --quiet \ |
29 | --exec /usr/bin/mtd \ |
30 | --make-pidfile --pidfile /var/run/mtd.pid \ |
31 | --background |
32 | eend $? |
33 | } |
34 | |
35 | stop () { |
36 | ebegin "Stopping MythTV Transcoding Daemon" |
37 | start-stop-daemon --stop --quiet --pidfile=/var/run/mtd.pid |
38 | eend $? |
39 | } |
40 | |
41 | |
42 | |
43 | -- |
44 | gentoo-commits@l.g.o mailing list |