freebsd-nq/libexec/rc/rc.d/routed
Edward Tomasz Napierala 034669e856 rc: replace NETWORK with NETWORKING
This improves consistency; the NETWORKING script provides both,
so there should be no functional change.

Differential Revision:	https://reviews.freebsd.org/D29587
2021-04-12 15:28:48 +01:00

23 lines
412 B
Bash
Executable File

#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: routed dynamicrouting
# REQUIRE: netif routing
# BEFORE: NETWORKING
# KEYWORD: nojailvnet
. /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"