xref: /freebsd/libexec/rc/rc.d/routed (revision 8ddb146abcdf061be9f2c0db7e391697dafad85c)
1#!/bin/sh
2#
3# $FreeBSD$
4#
5
6# PROVIDE: routed dynamicrouting
7# REQUIRE: netif routing
8# BEFORE: NETWORKING
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