Merge branch 'vendor/NCURSES'
[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.3 2005/11/19 21:47:32 swildner Exp $
6 #
7
8 # PROVIDE: mrouted
9 # REQUIRE: netif routing
10
11 . /etc/rc.subr
12
13 name="mrouted"
14 rcvar=`set_rcvar`
15 command="/usr/sbin/${name}"
16 pidfile="/var/run/${name}.pid"
17 required_files="/etc/${name}.conf"
18 extra_commands="reload"
19
20 load_rc_config $name
21 run_rc_command "$1"