]> CyberLeo.Net >> Repos - FreeBSD/releng/8.1.git/blob - etc/rc.d/route6d
Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.
[FreeBSD/releng/8.1.git] / etc / rc.d / route6d
1 #!/bin/sh
2 #
3 # $FreeBSD$
4 #
5
6 # PROVIDE: route6d
7 # REQUIRE: network_ipv6
8 # KEYWORD: nojail
9
10 . /etc/rc.subr
11
12 name="route6d"
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. In this case, it
17 #       is also needed by the eval statement in the FreeBSD conditional.
18 #
19 load_rc_config $name
20
21 rcvar="ipv6_router_enable"
22 command="${ipv6_router:-/usr/sbin/${name}}"
23 eval ${name}_flags=\"${ipv6_router_flags}\"
24
25 run_rc_command "$1"