2009-08-27 09:02:22 +00:00
|
|
|
#!/bin/sh /etc/rc.common
|
2011-11-13 22:16:32 +00:00
|
|
|
# Copyright (C) 2010-2011 OpenWrt.org
|
2010-07-18 00:04:43 +00:00
|
|
|
|
2009-08-27 09:02:22 +00:00
|
|
|
START=99
|
2010-07-18 00:04:43 +00:00
|
|
|
STOP=10
|
|
|
|
|
2011-11-13 22:16:32 +00:00
|
|
|
SERVICE_DAEMONIZE=1
|
|
|
|
SERVICE_WRITE_PID=1
|
|
|
|
|
2010-07-18 00:04:43 +00:00
|
|
|
# igmpproxy supports both a debug mode and verbosity, which are very useful
|
|
|
|
# when something isn't working.
|
|
|
|
#
|
|
|
|
# Debug mode will print everything to stdout instead of syslog. Generally
|
|
|
|
# verbosity should NOT be set as it will quickly fill your syslog.
|
2009-08-27 09:02:22 +00:00
|
|
|
#
|
2010-07-18 00:04:43 +00:00
|
|
|
# Put any debug or verbosity options into IGMP_OPTS
|
2009-08-27 09:02:22 +00:00
|
|
|
#
|
2010-07-18 00:04:43 +00:00
|
|
|
# Examples:
|
2011-11-13 22:16:32 +00:00
|
|
|
# OPTIONS="-d -v -v" - debug mode and very verbose, this will land in
|
2010-07-18 00:04:43 +00:00
|
|
|
# stdout and not in syslog
|
2011-11-13 22:16:32 +00:00
|
|
|
# OPTIONS="-v" - be verbose, this will write aditional information to syslog
|
2010-07-18 00:04:43 +00:00
|
|
|
|
2011-11-13 22:16:32 +00:00
|
|
|
OPTIONS=""
|
2010-07-18 00:04:43 +00:00
|
|
|
|
2009-08-27 09:02:22 +00:00
|
|
|
start() {
|
2011-11-13 22:16:32 +00:00
|
|
|
service_start /usr/sbin/igmpproxy $OPTIONS /etc/igmpproxy.conf
|
2009-08-27 09:02:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
stop() {
|
2011-11-13 22:16:32 +00:00
|
|
|
service_stop /usr/sbin/igmpproxy
|
2009-08-27 09:02:22 +00:00
|
|
|
}
|