3 # $NetBSD: route6d,v 1.5 2002/03/22 04:34:00 thorpej Exp $
4 # $FreeBSD: src/etc/rc.d/route6d,v 1.5 2003/01/25 23:14:08 mtm Exp $
5 # $DragonFly: src/etc/rc.d/route6d,v 1.1 2003/07/24 06:35:37 dillon Exp $
9 # REQUIRE: network_ipv6
10 # KEYWORD: DragonFly FreeBSD NetBSD
16 # XXX - Executable may be in a different location. The $name variable
17 # is different from the variable in rc.conf(5) so the
18 # subroutines in rc.subr won't catch it. In this case, it
19 # is also needed by the eval statement in the FreeBSD conditional.
25 rcvar="ipv6_router_enable"
26 command="${ipv6_router:-/usr/sbin/${name}}"
27 eval ${name}_flags=\"${ipv6_router_flags}\"
31 rcvar="ipv6_router_enable"
32 command="${ipv6_router:-/usr/sbin/${name}}"
33 eval ${name}_flags=\"${ipv6_router_flags}\"
37 command="/usr/sbin/${name}"