summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2002-11-26 17:51:03 +0000
committerrwatson <rwatson@FreeBSD.org>2002-11-26 17:51:03 +0000
commit53c241c2ca01b3a282d108541d40a2e88268a6be (patch)
treeaea050fcf01618f75fe286e1e009c4b2c3e49e13 /etc
parent9b4709eca2bb89db7046d1990799bb928b999e6c (diff)
downloadFreeBSD-src-53c241c2ca01b3a282d108541d40a2e88268a6be.zip
FreeBSD-src-53c241c2ca01b3a282d108541d40a2e88268a6be.tar.gz
Update rc scripts to load mac_lomac instead of lomac.
Approved by: re Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
Diffstat (limited to 'etc')
-rw-r--r--etc/rc2
-rw-r--r--etc/rc.d/lomac2
2 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc b/etc/rc
index a912288..20a8414 100644
--- a/etc/rc
+++ b/etc/rc
@@ -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
diff --git a/etc/rc.d/lomac b/etc/rc.d/lomac
index 9919ed0..9282360 100644
--- a/etc/rc.d/lomac
+++ b/etc/rc.d/lomac
@@ -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
OpenPOWER on IntegriCloud