packages/igmpproxy: use new service functions, usr br-lan/br-wan in sample config...
[openwrt/svn-archive/archive.git] / net / igmpproxy / files / igmpproxy.init
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2010-2011 OpenWrt.org
3
4 START=99
5 STOP=10
6
7 SERVICE_DAEMONIZE=1
8 SERVICE_WRITE_PID=1
9
10 # igmpproxy supports both a debug mode and verbosity, which are very useful
11 # when something isn't working.
12 #
13 # Debug mode will print everything to stdout instead of syslog. Generally
14 # verbosity should NOT be set as it will quickly fill your syslog.
15 #
16 # Put any debug or verbosity options into IGMP_OPTS
17 #
18 # Examples:
19 # OPTIONS="-d -v -v" - debug mode and very verbose, this will land in
20 # stdout and not in syslog
21 # OPTIONS="-v" - be verbose, this will write aditional information to syslog
22
23 OPTIONS=""
24
25 start() {
26 service_start /usr/sbin/igmpproxy $OPTIONS /etc/igmpproxy.conf
27 }
28
29 stop() {
30 service_stop /usr/sbin/igmpproxy
31 }