Deleted Added
full compact
3c3
< # $FreeBSD: head/etc/rc.d/route6d 174438 2007-12-08 07:20:23Z dougb $
---
> # $FreeBSD: head/etc/rc.d/route6d 197144 2009-09-12 22:19:48Z hrs $
7c7
< # REQUIRE: network_ipv6
---
> # REQUIRE: netif routing
12a13
> rcvar=`set_rcvar`
14,19c15,17
< # XXX - Executable may be in a different location. The $name variable
< # is different from the variable in rc.conf(5) so the
< # subroutines in rc.subr won't catch it. In this case, it
< # is also needed by the eval statement in the FreeBSD conditional.
< #
< load_rc_config $name
---
> set_rcvar_obsolete ipv6_router_enable route6d_enable
> set_rcvar_obsolete ipv6_router route6d_program
> set_rcvar_obsolete ipv6_router_flags route6d_flags
21,24c19
< rcvar="ipv6_router_enable"
< command="${ipv6_router:-/usr/sbin/${name}}"
< eval ${name}_flags=\"${ipv6_router_flags}\"
<
---
> load_rc_config $name