freebsd-nq/etc/rc.d/lomac
Robert Watson 881a0ee9b5 Update rc scripts to load mac_lomac instead of lomac.
Approved by:	re
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-11-26 17:51:03 +00:00

20 lines
257 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: lomac
# REQUIRE: mountcritremote
# BEFORE: syslogd
# KEYWORD: FreeBSD
. /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"