xref: /freebsd/libexec/rc/rc.d/routed (revision 732a02b4e77866604a120a275c082bb6221bd2ff)
1#!/bin/sh
2#
3# $FreeBSD$
4#
5
6# PROVIDE: routed dynamicrouting
7# REQUIRE: netif routing
8# BEFORE: NETWORK
9# KEYWORD: nojailvnet
10
11. /etc/rc.subr
12
13name="routed"
14desc="Network RIP and router discovery routing daemon"
15rcvar="routed_enable"
16
17set_rcvar_obsolete router_enable routed_enable
18set_rcvar_obsolete router routed_program
19set_rcvar_obsolete router_flags	routed_flags
20
21load_rc_config $name
22run_rc_command "$1"
23