Revision 5f2cafaf267c21f88857b06ae6e34febedc7ec0d authored by Mark Johnston on 05 July 2017, 19:24:53 UTC, committed by Mark Johnston on 05 July 2017, 19:24:53 UTC
Omit v_cache_count when computing the number of free pages, since its
value is always 0.

Approved by:	re (gjb, kib)
1 parent 1da3ad1
Raw File
auditd
#!/bin/sh
#
# $FreeBSD$
#
# Start up for the Audit daemon.
#

# PROVIDE: auditd
# REQUIRE: syslogd
# BEFORE:  DAEMON
# KEYWORD: nojail shutdown

. /etc/rc.subr

name="auditd"
desc="Audit daemon"
stop_cmd="auditd_stop"
command="/usr/sbin/${name}"
rcvar="auditd_enable"
command_args="${auditd_flags}"
required_files="/etc/security/audit_class /etc/security/audit_control
		/etc/security/audit_event /etc/security/audit_user
		/etc/security/audit_warn"

auditd_stop()
{

	/usr/sbin/audit -t
	sleep 1
}

load_rc_config $name
run_rc_command "$1"
back to top