xref: /freebsd/libexec/rc/rc.d/routed (revision 13ea0450a9c8742119d36f3bf8f47accdce46e54)
1#!/bin/sh
2#
3# $FreeBSD$
4#
5
6# PROVIDE: routed
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