diff options
author | rwatson <rwatson@FreeBSD.org> | 2002-03-12 21:47:31 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2002-03-12 21:47:31 +0000 |
commit | 02ff3db358eed2ddd388c7b961090ffe71ee8a5d (patch) | |
tree | eb1f3c65456e9b3b34dc1df5bd22089d9403c967 /etc/rc | |
parent | 5ccd83be4697ca8e954cf49d727cbe44dd1ffa11 (diff) | |
download | FreeBSD-src-02ff3db358eed2ddd388c7b961090ffe71ee8a5d.zip FreeBSD-src-02ff3db358eed2ddd388c7b961090ffe71ee8a5d.tar.gz |
Allow LOMAC to be loaded as part of the boot scripts using "lomac_enable"
setting in rc.conf.
Extracted from the still clammy hands of: green
Sponsored by: DARPA, NAI Labs
Diffstat (limited to 'etc/rc')
-rw-r--r-- | etc/rc | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -521,6 +521,13 @@ rm -f /tmp/.X*-lock /tmp/.X11-unix/* # Snapshot any kernel -c changes back to disk here <someday>. # This has changed with ELF and /kernel.config. +# Load LOMAC(4) security if wanted. +case ${lomac_enable} in +[Yy][Ee][Ss]) + kldload lomac >/dev/null 2>&1 + ;; +esac + echo -n 'Additional daemons:' # Start system logging and name service. Named needs to start before syslogd |