Update rc scripts to load mac_lomac instead of lomac.

Approved by:	re
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
This commit is contained in:
rwatson 2002-11-26 17:51:03 +00:00
parent 2d1a915b9b
commit 49c35af559
2 changed files with 2 additions and 2 deletions

2
etc/rc
View File

@ -597,7 +597,7 @@ mkdir -m 1777 /tmp/.X11-unix
# Load LOMAC(4) security if wanted.
case ${lomac_enable} in
[Yy][Ee][Ss])
kldload lomac >/dev/null 2>&1
kldload mac_lomac >/dev/null 2>&1
;;
esac

View File

@ -12,7 +12,7 @@
name="lomac"
rcvar=`set_rcvar`
start_cmd="kldload lomac >/dev/null 2>&1"
start_cmd="kldload mac_lomac >/dev/null 2>&1"
stop_cmd=":"
load_rc_config $name