get mxge to build, stage 29/many
[dragonfly.git] / etc / rc.d / route6d
blob31e40d81496c92a7f26ff90119f64436e2f6bfea
1 #!/bin/sh
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.5 2006/10/24 09:24:15 victor Exp $
8 # PROVIDE: route6d
9 # REQUIRE: network_ipv6
11 . /etc/rc.subr
13 name="route6d"
15 # XXX - Executable may be in a different location. The $name variable
16 # is different from the variable in rc.conf(5) so the
17 # subroutines in rc.subr won't catch it. In this case, it
18 # is also needed by the eval statement in the FreeBSD conditional.
20 load_rc_config $name
21 rcvar="ipv6_router_enable"
22 command="${ipv6_router_program:-/usr/sbin/${name}}"
23 eval ${name}_flags=\"${ipv6_router_flags}\"
25 run_rc_command "$1"