From: | "Christian Ruppert (idl0r)" <idl0r@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-misc/igmpproxy/files: igmpproxy-conf.d igmpproxy-init.d |
Date: | Sun, 03 May 2009 20:05:16 |
Message-Id: | E1M0hw2-0006la-7V@stork.gentoo.org |
1 | idl0r 09/05/03 20:05:14 |
2 | |
3 | Added: igmpproxy-conf.d igmpproxy-init.d |
4 | Log: |
5 | New ebuild for bug 233738. |
6 | (Portage version: 2.2_rc31/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 net-misc/igmpproxy/files/igmpproxy-conf.d |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/igmpproxy/files/igmpproxy-conf.d?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/igmpproxy/files/igmpproxy-conf.d?rev=1.1&content-type=text/plain |
13 | |
14 | Index: igmpproxy-conf.d |
15 | =================================================================== |
16 | # Specify a configuration file |
17 | IGMPPROXY_CONFIG="/etc/igmpproxy.conf" |
18 | |
19 | # Additional command line options. |
20 | # See igmpproxy(8) for more information. |
21 | IGMPPROXY_OPTS="" |
22 | |
23 | |
24 | |
25 | 1.1 net-misc/igmpproxy/files/igmpproxy-init.d |
26 | |
27 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/igmpproxy/files/igmpproxy-init.d?rev=1.1&view=markup |
28 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/igmpproxy/files/igmpproxy-init.d?rev=1.1&content-type=text/plain |
29 | |
30 | Index: igmpproxy-init.d |
31 | =================================================================== |
32 | #!/sbin/runscript |
33 | # Copyright 1999-2009 Gentoo Foundation |
34 | # Distributed under the terms of the GNU General Public License v2 |
35 | # $Header: /var/cvsroot/gentoo-x86/net-misc/igmpproxy/files/igmpproxy-init.d,v 1.1 2009/05/03 20:05:14 idl0r Exp $ |
36 | |
37 | depend() { |
38 | need net |
39 | use logger |
40 | } |
41 | |
42 | start() { |
43 | ebegin "Starting IGMPproxy" |
44 | start-stop-daemon --start --background \ |
45 | --make-pidfile --pidfile /var/run/igmpproxy.pid \ |
46 | --exec /usr/sbin/igmpproxy -- \ |
47 | ${IGMPPROXY_OPTS} "${IGMPPROXY_CONFIG:-/etc/igmpproxy.conf}" |
48 | eend $? |
49 | } |
50 | |
51 | stop() { |
52 | ebegin "Stopping IGMPproxy" |
53 | start-stop-daemon --stop --pidfile /var/run/igmpproxy.pid |
54 | eend $? |
55 | } |