#!/bin/sh
#
# $NetBSD: mrouted,v 1.6 2002/03/22 04:33:59 thorpej Exp $
# $FreeBSD: ports/net/mrouted/files/mrouted.in,v 1.4 2012/11/17 06:00:06 svnexp Exp $
#

# PROVIDE: mrouted
# REQUIRE: netif routing cleanvar
# KEYWORD: nojail

. /etc/rc.subr

name="mrouted"
rcvar=mrouted_enable
command=/usr/local/sbin/${name}
pidfile="/var/run/${name}.pid"
required_files=/usr/local/etc/${name}.conf
extra_commands="reload"

load_rc_config $name
run_rc_command "$1"
