xref: /freebsd/libexec/rc/rc.d/routed (revision e67e85659c0de33e617e5fbf1028c6e8b49eee53)
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