auditd revision 180563
1#!/bin/sh 2# 3# $FreeBSD: head/etc/rc.d/auditd 180563 2008-07-16 19:22:48Z dougb $ 4# 5# Start up for the Audit daemon. 6# 7 8# PROVIDE: auditd 9# REQUIRE: syslogd 10# BEFORE: DAEMON 11# KEYWORD: shutdown 12 13. /etc/rc.subr 14 15name="auditd" 16stop_cmd="auditd_stop" 17command="/usr/sbin/${name}" 18rcvar="auditd_enable" 19command_args="${auditd_flags}" 20required_files="/etc/security/audit_class /etc/security/audit_control 21 /etc/security/audit_event /etc/security/audit_user 22 /etc/security/audit_warn" 23 24auditd_stop() 25{ 26 27 /usr/sbin/audit -t 28 sleep 1 29} 30 31load_rc_config $name 32run_rc_command "$1" 33