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:
Robert Watson 2002-11-26 17:51:03 +00:00
parent 7496ed81c3
commit 881a0ee9b5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=107280
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