head	1.5;
access;
symbols
	RELENG_5_5_0_RELEASE:1.3.2.2
	RELENG_5_5:1.3.2.2.0.4
	RELENG_5_5_BP:1.3.2.2
	RELENG_5_4_0_RELEASE:1.3.2.2
	RELENG_5_4:1.3.2.2.0.2
	RELENG_5_4_BP:1.3.2.2
	RELENG_5_3_0_RELEASE:1.3.2.1
	RELENG_5_3:1.3.2.1.0.2
	RELENG_5_3_BP:1.3.2.1
	RELENG_5:1.3.0.2
	RELENG_5_BP:1.3
	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;
locks; strict;
comment	@# @;


1.5
date	2005.03.12.21.09.15;	author trhodes;	state dead;
branches;
next	1.4;

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

1.3
date	2004.03.08.12.25.05;	author pjd;	state Exp;
branches
	1.3.2.1;
next	1.2;

1.2
date	2002.11.26.17.51.03;	author rwatson;	state Exp;
branches;
next	1.1;

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

1.3.2.1
date	2004.10.10.09.50.53;	author mtm;	state Exp;
branches;
next	1.3.2.2;

1.3.2.2
date	2005.03.17.00.02.25;	author trhodes;	state dead;
branches;
next	;


desc
@@


1.5
log
@Remove mac_lomac(4) functionality.  The proper way is to use loader.conf
or build the policy into a kernel.

Approved by:	rwatson
@
text
@#!/bin/sh
#
# $FreeBSD: src/etc/rc.d/lomac,v 1.4 2004/10/07 13:55:26 mtm Exp $
#

# PROVIDE: lomac
# REQUIRE: mountcritremote
# BEFORE: syslogd
# KEYWORD: nojail

. /etc/rc.subr

name="lomac"
rcvar=`set_rcvar`
start_cmd="kldload mac_lomac >/dev/null 2>&1"
stop_cmd=":"

load_rc_config $name
run_rc_command "$1"
@


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
@d3 1
a3 1
# $FreeBSD$
@


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

Some suggestions from:	rwatson, Ruben de Groot <mail25@@bzerk.org>
@
text
@d9 1
a9 1
# KEYWORD: FreeBSD nojail
@


1.3.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.3.2.2
log
@MFC: De-orbit lomac.

Approved by:	re (kensmith)
@
text
@d3 1
a3 1
# $FreeBSD: src/etc/rc.d/lomac,v 1.3.2.1 2004/10/10 09:50:53 mtm Exp $
@


1.2
log
@Update rc scripts to load mac_lomac instead of lomac.

Approved by:	re
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
@
text
@d9 1
a9 1
# KEYWORD: FreeBSD
@


1.1
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
@d15 1
a15 1
start_cmd="kldload lomac >/dev/null 2>&1"
@

