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