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