summaryrefslogtreecommitdiff
path: root/etc/rc.d/mrouted
blob: 9bdf589629796e78370c6c2e920d46d3ebd046c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh
#
# $NetBSD: mrouted,v 1.7 2004/08/13 18:08:03 mycroft Exp $
#

# PROVIDE: mrouted
# REQUIRE: DAEMON
# BEFORE:  LOGIN

$_rc_subr_loaded . /etc/rc.subr

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

load_rc_config $name
run_rc_command "$1"