head	1.6;
access;
symbols
	RELENG_6_4_0_RELEASE:1.4.2.2
	RELENG_6_4:1.4.2.2.0.2
	RELENG_6_4_BP:1.4.2.2
	RELENG_6_3_0_RELEASE:1.4.2.1
	RELENG_6_3:1.4.2.1.0.6
	RELENG_6_3_BP:1.4.2.1
	RELENG_6_2_0_RELEASE:1.4.2.1
	RELENG_6_2:1.4.2.1.0.4
	RELENG_6_2_BP:1.4.2.1
	RELENG_5_5_0_RELEASE:1.2.2.2
	RELENG_5_5:1.2.2.2.0.4
	RELENG_5_5_BP:1.2.2.2
	RELENG_6_1_0_RELEASE:1.4.2.1
	RELENG_6_1:1.4.2.1.0.2
	RELENG_6_1_BP:1.4.2.1
	RELENG_6_0_0_RELEASE:1.4
	RELENG_6_0:1.4.0.4
	RELENG_6_0_BP:1.4
	RELENG_6:1.4.0.2
	RELENG_6_BP:1.4
	RELENG_5_4_0_RELEASE:1.2.2.2
	RELENG_5_4:1.2.2.2.0.2
	RELENG_5_4_BP:1.2.2.2
	RELENG_5_3_0_RELEASE:1.2.2.1
	RELENG_5_3:1.2.2.1.0.2
	RELENG_5_3_BP:1.2.2.1
	RELENG_5:1.2.0.2
	RELENG_5_BP:1.2
	RELENG_5_2_1_RELEASE:1.1
	RELENG_5_2_0_RELEASE:1.1
	RELENG_5_2:1.1.0.2
	RELENG_5_2_BP:1.1;
locks; strict;
comment	@# @;


1.6
date	2006.03.28.18.28.33;	author simon;	state dead;
branches;
next	1.5;

1.5
date	2005.10.23.14.06.53;	author yar;	state Exp;
branches;
next	1.4;

1.4
date	2004.10.07.13.55.26;	author mtm;	state Exp;
branches
	1.4.2.1;
next	1.3;

1.3
date	2004.09.16.17.04.20;	author keramida;	state Exp;
branches;
next	1.2;

1.2
date	2004.03.08.12.25.05;	author pjd;	state Exp;
branches
	1.2.2.1;
next	1.1;

1.1
date	2003.11.28.17.28.42;	author bms;	state Exp;
branches;
next	;

1.2.2.1
date	2004.10.10.09.50.53;	author mtm;	state Exp;
branches;
next	1.2.2.2;

1.2.2.2
date	2004.12.10.19.11.26;	author rse;	state Exp;
branches;
next	;

1.4.2.1
date	2006.01.22.13.24.58;	author yar;	state Exp;
branches;
next	1.4.2.2;

1.4.2.2
date	2008.01.28.08.13.20;	author dougb;	state dead;
branches;
next	;


desc
@@


1.6
log
@Remove redundant ike rc.d script, since we do not have an IPsec IKE
daemon in the base system and all the IKE daemons in the Ports
Collection has their own rc.d script.

OK'ed by:	dougb
Discussed on:	freebsd-rc
MFC after:	1 month
Approved by:	cperciva (mentor)
@
text
@#!/bin/sh
#
# $FreeBSD: src/etc/rc.d/ike,v 1.5 2005/10/23 14:06:53 yar Exp $
#

# PROVIDE: ike
# REQUIRE: root mountcritlocal
# BEFORE:  DAEMON
# KEYWORD: nojail

. /etc/rc.subr

name="ike"
rcvar=`set_rcvar`
command="/usr/local/sbin/isakmpd"
extra_commands="reload"

load_rc_config $name
run_rc_command "$1"
@


1.5
log
@Don't be lazy, set the "command" variable even if
/etc/defaults/rc.conf will provide foo_program, too.
By specifying "command" we explicitly say that we're
going to rely on rc.subr(8) default methods, and
rc.subr(8) will take advantage of this soon.

The majority of our rc.d scripts already set "command"
if appropriate, so fix just the non-compliant handful.
@
text
@d3 1
a3 1
# $FreeBSD$
@


1.4
log
@Remove the requirement for the FreeBSD keyword as it no longer
makes any sense.

Discussed with: dougb, brooks
MFC after: 3 days
@
text
@d15 1
@


1.4.2.1
log
@MFC rev. 1.5:

Set $command to indicate that the script wants to use
the default rc.subr(8) methods.  This is mandatory now.
@
text
@a14 1
command="/usr/local/sbin/isakmpd"
@


1.4.2.2
log
@MFC removal of the redundant ike script. We don't have this in the base,
and the ports versions have their own.
@
text
@d3 1
a3 1
# $FreeBSD: src/etc/rc.d/ike,v 1.4.2.1 2006/01/22 13:24:58 yar Exp $
@


1.3
log
@We don't have any providers of `beforenetlkm' in FreeBSD.  Remove the
dependency to it from our rc.d scripts.

Approved by:	mtm
@
text
@d9 1
a9 1
# KEYWORD: FreeBSD nojail
@


1.2
log
@Mark scripts as not usable inside a jail by adding keyword 'nojail'.

Some suggestions from:	rwatson, Ruben de Groot <mail25@@bzerk.org>
@
text
@d7 1
a7 1
# REQUIRE: root beforenetlkm mountcritlocal
@


1.2.2.1
log
@RCS file: /home/ncvs/src/etc/rc,v
----------------------------
revision 1.335
date: 2004/10/08 14:23:49;  author: mtm;  state: Exp;  lines: +0 -1
Remove an unused variable.

Submitted by: Pawel Worach <pawel.worach@@telia.com>
----------------------------
revision 1.334
date: 2004/10/07 13:55:25;  author: mtm;  state: Exp;  lines: +1 -1
Remove the requirement for the FreeBSD keyword as it no longer
makes any sense.

Discussed with: dougb, brooks
MFC after: 3 days
=============================================================================
RCS file: /home/ncvs/src/etc/rc.d/nsswitch,v
----------------------------
revision 1.4
date: 2004/09/16 17:03:12;  author: keramida;  state: Exp;  lines: +1 -1
Fix requirement of `network' to `NETWORK' because the former isn't
provided by any rc.d script.

Approved by:	mtm
=============================================================================
RCS file: /home/ncvs/src/etc/rc.d/pflog,v
----------------------------
revision 1.3
date: 2004/09/16 17:04:20;  author: keramida;  state: Exp;  lines: +1 -1
We don't have any providers of `beforenetlkm' in FreeBSD.  Remove the
dependency to it from our rc.d scripts.

Approved by:	mtm
=============================================================================

Approved by: re/scottl
@
text
@d9 1
a9 1
# KEYWORD: nojail
@


1.2.2.2
log
@MFC etc/rc.d/ike 1.3, etc/rc.d/pf 1.4, etc/rc.d/pflog 1.3:
    We don't have any providers of `beforenetlkm' in FreeBSD.
    Remove the dependency to it from our rc.d scripts.

This resolves the following rcorder(8) complains in 5.3-STABLE:

$ rcorder /etc/rc.d/* 2>&1 | grep rcorder
rcorder: requirement `beforenetlkm' in file `/etc/rc.d/ike' has no providers.
rcorder: requirement `beforenetlkm' in file `/etc/rc.d/pflog' has no providers.
rcorder: requirement `beforenetlkm' in file `/etc/rc.d/pf' has no providers.
@
text
@d7 1
a7 1
# REQUIRE: root mountcritlocal
@


1.1
log
@Add a means of starting an IKE daemon from the rc system at an appropriate
time during the boot process. This is needed in the case where NFS mounts
from servers reachable only via IPSEC are in /etc/fstab.

PR:		conf/42497
Submitted by:	Volker Stolz
Approved by:	re (rwatson)
@
text
@d9 1
a9 1
# KEYWORD: FreeBSD
@

