freebsd-nq/etc/rc.d/mrouted

21 lines
314 B
Plaintext
Raw Normal View History

#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: mrouted
# REQUIRE: netif routing cleanvar
# KEYWORD: nojail
. /etc/rc.subr
name="mrouted"
rcvar=`set_rcvar`
command="/usr/local/sbin/${name}"
pidfile="/var/run/${name}.pid"
required_files="/etc/${name}.conf"
extra_commands="reload"
load_rc_config $name
run_rc_command "$1"