freebsd-nq/etc/rc.d/routed
Enji Cooper 322c831d0c Fix broken dependency with routed when MK_ROUTED != no
Remove routed as a requirement in NETWORKING, and put it in routed as a BEFORE
requirement instead

MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division
2016-05-15 05:45:54 +00:00

23 lines
390 B
Bash
Executable File

#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: routed
# REQUIRE: netif routing
# BEFORE: NETWORK
# KEYWORD: nojail
. /etc/rc.subr
name="routed"
desc="Network RIP and router discovery routing daemon"
rcvar="routed_enable"
set_rcvar_obsolete router_enable routed_enable
set_rcvar_obsolete router routed_program
set_rcvar_obsolete router_flags routed_flags
load_rc_config $name
run_rc_command "$1"