summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/routed
blob: c0bd5f7fece473f3b964965bb3d5ab6d5ca2ee50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh
#
# $FreeBSD$
#

# PROVIDE: routed
# REQUIRE: netif routing
# KEYWORD: nojail

. /etc/rc.subr

name="routed"
desc="network RIP and router discovery routing daemon"
rcvar=`set_rcvar`

set_rcvar_obsolete router_enable routed_enable
set_rcvar_obsolete router routed_program
set_rcvar_obsolete router_flags	routed_flags

load_rc_config $name
run_rc_command "$1"
OpenPOWER on IntegriCloud