]> CyberLeo.Net >> Repos - FreeBSD/releng/8.1.git/blob - etc/rc.d/routed
Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.
[FreeBSD/releng/8.1.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
14 # XXX - Executable may be in a different location. The $name variable
15 #       is different from the variable in rc.conf(5) so the
16 #       subroutines in rc.subr won't catch it.
17 #
18 load_rc_config $name
19 rcvar="router_enable"
20 command="${router:-/sbin/${name}}"
21 eval ${name}_flags=\"${router_flags}\"
22 run_rc_command "$1"