4
# Default-Start: 2 3 4 5
6
# Required-Start: $network $remote_fs $syslog
7
# Required-Stop: $network $remote_fs $syslog
8
# Short-Description: IPv6 Multicast Routing Daemon
9
# Description: mrd6 is a IPv6 IPv6 Multicast Routing Daemon which
10
# implements: MLDv1, MLDv2, PIM-SM, partial MBGP support,
11
# Native and virtual (tunnel) interfaces support and CLI
15
# Author: Hugo Santos <hugo@fivebits.net>
17
PATH=/usr/sbin:/usr/bin:/sbin:/bin
20
DESC="Multicast routing daemon"
23
test -x $DAEMON || exit 0
25
test -r $CONF || exit 0
27
. /lib/lsb/init-functions
31
log_begin_msg "Starting $DESC: $NAME"
32
start-stop-daemon --start --quiet -m --pidfile /run/mrd6.pid --exec $DAEMON -- -D
36
log_begin_msg "Stopping $DESC: $NAME"
37
start-stop-daemon --stop --quiet --oknodo --exec $DAEMON
42
status_of_proc $DAEMON "$DESC: $NAME"
45
invoke-rc.d $NAME stop
46
invoke-rc.d $NAME start
50
echo "Usage: $N {start|stop|status|restart|force-reload}" >&2