]> git.saurik.com Git - apple/system_cmds.git/blame - auditd.tproj/rc.audit
system_cmds-279.6.tar.gz
[apple/system_cmds.git] / auditd.tproj / rc.audit
CommitLineData
733af6d0
A
1##
2# Startup script for Common Criteria Auditing function.
3##
4# Copyright 2004 Apple Computer, Inc.
5##
6
7. /etc/rc.common
8
9##
10# Start the audit daemon (if present)
11##
12if [ "${AUDIT:=-NO-}" == "-YES-" ]; then
13 if [ -f /usr/sbin/auditd ]; then
14 /usr/sbin/auditd
15 fi
16elif [ "${AUDIT:=-NO-}" == "-FAILSTOP-" ]; then
17 if [ -f /usr/sbin/auditd ]; then
18 /usr/sbin/auditd -s
19 fi
20elif [ "${AUDIT:=-NO-}" == "-FAILHALT-" ]; then
21 if [ -f /usr/sbin/auditd ]; then
22 /usr/sbin/auditd -h
23 fi
24
25fi