Date: Thu, 30 Dec 2004 04:24:49 GMT From: Tom Rhodes <trhodes@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 67882 for review Message-ID: <200412300424.iBU4Onwk074528@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=67882 Change 67882 by trhodes@trhodes_local on 2004/12/30 04:24:44 Make this file more realistic by gathering the flags passed in rc.conf. Add required files as requested by Wayne. Affected files ... .. //depot/projects/trustedbsd/audit3/etc/rc.d/auditd#2 edit Differences ... ==== //depot/projects/trustedbsd/audit3/etc/rc.d/auditd#2 (text+ko) ==== @@ -12,31 +12,12 @@ . /etc/rc.subr name="auditd" -start_cmd="auditd_start" stop_cmd="auditd_stop" - -auditd_start() -{ -if checkyesno auditd_enable; then - echo "Starting the audit daemon" - if [ -f /usr/sbin/auditd ]; then - /usr/sbin/auditd -fi - - -elif checkyesno auditd_failstop_enable; then - echo "Starting the audit daemon" - if [ -f /usr/sbin/auditd ]; then - /usr/sbin/auditd -s -fi - -elif checkyesno auditd_failhalt_enable; then - echo "Starting the audit daemon" - if [ -f /usr/sbin/auditd ]; then - /usr/sbin/auditd -h - fi -fi -} +command="/usr/sbin/${name}" +rcvar="auditd_enable" +command_args="${auditd_flags}" +requited_files="/etc/audit_class /etc/audit_control /etc/audit_event + /etc/audit_user /etc/audit_warn /etc/auditd_control" auditd_stop() {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412300424.iBU4Onwk074528>