Bring RCNG in from 5.x and adjust config files and scripts accordingly.
[dragonfly.git] / etc / rc.d / mrouted
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 $
5 # $DragonFly: src/etc/rc.d/mrouted,v 1.1 2003/07/24 06:35:37 dillon Exp $
6 #
7
8 # PROVIDE: mrouted
9 # REQUIRE: netif routing
10 # KEYWORD: DragonFly FreeBSD NetBSD
11
12 . /etc/rc.subr
13
14 name="mrouted"
15 rcvar=`set_rcvar`
16 command="/usr/sbin/${name}"
17 pidfile="/var/run/${name}.pid"
18 required_files="/etc/${name}.conf"
19 extra_commands="reload"
20
21 load_rc_config $name
22 run_rc_command "$1"