1#!/bin/sh 2# 3# $NetBSD: route6d,v 1.5 2002/03/22 04:34:00 thorpej Exp $
| 1#!/bin/sh 2# 3# $NetBSD: route6d,v 1.5 2002/03/22 04:34:00 thorpej Exp $
|
4# $FreeBSD: head/etc/rc.d/route6d 124622 2004-01-17 10:59:43Z mtm $
| 4# $FreeBSD: head/etc/rc.d/route6d 126744 2004-03-08 12:25:05Z pjd $
|
5# 6 7# PROVIDE: route6d 8# REQUIRE: network_ipv6
| 5# 6 7# PROVIDE: route6d 8# REQUIRE: network_ipv6
|
9# KEYWORD: FreeBSD
| 9# KEYWORD: FreeBSD nojail
|
10 11. /etc/rc.subr 12 13name="route6d" 14 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. 19# 20load_rc_config $name 21 22rcvar="ipv6_router_enable" 23command="${ipv6_router:-/usr/sbin/${name}}" 24eval ${name}_flags=\"${ipv6_router_flags}\" 25 26run_rc_command "$1"
| 10 11. /etc/rc.subr 12 13name="route6d" 14 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. 19# 20load_rc_config $name 21 22rcvar="ipv6_router_enable" 23command="${ipv6_router:-/usr/sbin/${name}}" 24eval ${name}_flags=\"${ipv6_router_flags}\" 25 26run_rc_command "$1"
|