]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - etc/rc.d/routed
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
[FreeBSD/stable/10.git] / etc / rc.d / routed
1 #!/bin/sh
2 #
3 # $FreeBSD$
4 #
5
6 # PROVIDE: routed
7 # REQUIRE: netif routing
8 # KEYWORD: nojail
9
10 . /etc/rc.subr
11
12 name="routed"
13 rcvar="routed_enable"
14 desc="network RIP and router discovery routing daemon"
15
16 set_rcvar_obsolete router_enable routed_enable
17 set_rcvar_obsolete router routed_program
18 set_rcvar_obsolete router_flags routed_flags
19
20 load_rc_config $name
21 run_rc_command "$1"