Merge branch 'master' of ssh://crater.dragonflybsd.org/repository/git/dragonfly
[dragonfly.git] / etc / rc.d / mrouted
CommitLineData
9c600e7d
MD
1#!/bin/sh
2#
3# $NetBSD: mrouted,v 1.6 2002/03/22 04:33:59 thorpej Exp $
4# $FreeBSD: src/etc/rc.d/mrouted,v 1.5 2003/06/29 05:15:57 mtm Exp $
696a5717 5# $DragonFly: src/etc/rc.d/mrouted,v 1.3 2005/11/19 21:47:32 swildner Exp $
9c600e7d
MD
6#
7
8# PROVIDE: mrouted
9# REQUIRE: netif routing
9c600e7d
MD
10
11. /etc/rc.subr
12
13name="mrouted"
14rcvar=`set_rcvar`
15command="/usr/sbin/${name}"
16pidfile="/var/run/${name}.pid"
17required_files="/etc/${name}.conf"
18extra_commands="reload"
19
20load_rc_config $name
21run_rc_command "$1"