head	1.3;
access;
symbols
	RELENG_5_5_0_RELEASE:1.2
	RELENG_5_5:1.2.0.14
	RELENG_5_5_BP:1.2
	RELENG_5_4_0_RELEASE:1.2
	RELENG_5_4:1.2.0.12
	RELENG_5_4_BP:1.2
	RELENG_5_3_0_RELEASE:1.2
	RELENG_5_3:1.2.0.10
	RELENG_5_3_BP:1.2
	RELENG_5:1.2.0.8
	RELENG_5_BP:1.2
	RELENG_5_2_1_RELEASE:1.2
	RELENG_5_2_0_RELEASE:1.2
	RELENG_5_2:1.2.0.6
	RELENG_5_2_BP:1.2
	RELENG_5_1_0_RELEASE:1.2
	RELENG_5_1:1.2.0.4
	RELENG_5_1_BP:1.2
	RELENG_5_0_0_RELEASE:1.2
	RELENG_5_0:1.2.0.2
	RELENG_5_0_BP:1.2
	head_20020621:1.1.1.1
	head_20010615:1.1.1.1
	NETBSD:1.1.1;
locks; strict;
comment	@# @;


1.3
date	2005.06.06.02.51.26;	author obrien;	state dead;
branches;
next	1.2;

1.2
date	2002.06.13.22.14.36;	author gordon;	state Exp;
branches;
next	1.1;

1.1
date	2001.06.16.07.16.14;	author obrien;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2001.06.16.07.16.14;	author obrien;	state Exp;
branches;
next	;


desc
@@


1.3
log
@Remove RCng files that were brought in from NetBSD, but we ended up not
using them (or did and no longer do).
@
text
@#!/bin/sh
#
# $NetBSD: lkm2,v 1.4 2000/09/19 13:04:38 lukem Exp $
# $FreeBSD: src/etc/rc.d/lkm2,v 1.2 2002/06/13 22:14:36 gordon Exp $
#

# PROVIDE: beforemountlkm
# REQUIRE: syslogd

. /etc/rc.subr

name="lkm2"
rcvar="lkm"
start_cmd="lkm2_start"
stop_cmd="lkm2_stop"

#		load kernel modules specified in /etc/lkm.conf
#
lkm2_start()
{
	if [ -r /etc/rc.lkm ]; then
		lkmstage=BEFOREMOUNT
		set start ; . /etc/rc.lkm
	else
		warn "/etc/rc.lkm not found; LKMs not loaded."
	fi
}

lkm2_stop()
{
	if [ -r /etc/rc.lkm ]; then
		lkmstage=BEFOREMOUNT
		set stop ; . /etc/rc.lkm
	fi
}

load_rc_config lkm
run_rc_command "$1"
@


1.2
log
@Merge in all the changes that Mike Makonnen has been maintaining for a
while. This is only the script pieces, the glue for the build comes next.

Submitted by:	Mike Makonnen <makonnen@@pacbell.net>
Reviewed by:	silence on -current and -hackers
Prodded by:	rwatson
@
text
@d4 1
a4 1
# $FreeBSD$
@


1.1
log
@Initial revision
@
text
@d3 2
a4 1
# $NetBSD: lkm2,v 1.3 2000/07/15 02:30:18 lukem Exp $
@


1.1.1.1
log
@Import the NetBSD 1.5 RC system.

Note that `rc' and `rc.shutdown' could not be imported because we already
have files with those names.
@
text
@@
