svc-auditd revision 6927f468b0af7710df000f6b16f6ee413e1e3007
1096N/A# The contents of this file are subject to the terms of the 1096N/A# Common Development and Distribution License (the "License"). 2362N/A# You may not use this file except in compliance with the License. 1096N/A# See the License for the specific language governing permissions 1096N/A# and limitations under the License. 1096N/A# When distributing Covered Code, include this CDDL HEADER in each 1096N/A# If applicable, add the following below this CDDL HEADER, with the 1096N/A# fields enclosed by brackets "[]" replaced with your own identifying 1096N/A# information: Portions Copyright [yyyy] [name of copyright owner] 2362N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 1096N/A# Use is subject to license terms. 1096N/A# ident "%Z%%M% %I% %E% SMI" 1096N/A# if the audit state is "disabled" auditconfig returns 1096N/A# non-zero exit status unless the c2audit module is loaded; 1096N/A# if c2audit is loaded, "disabled" becomes "noaudit" early 2080N/A# in the boot cycle and "auditing" only after auditd starts. 1096N/A # The decision whether to start 1096N/A # auditing is driven by bsmconv / bsmunconv 1096N/A# In a non-global zone, auditd is started only if the "perzone" 1096N/A# audit policy has been set. 1096N/A echo "$0: auditd is not configured to run in a local zone" 1096N/A# daemon forks, parent exits when child says it's ready