diff options
author | trhodes <trhodes@FreeBSD.org> | 2006-06-06 17:22:55 +0000 |
---|---|---|
committer | trhodes <trhodes@FreeBSD.org> | 2006-06-06 17:22:55 +0000 |
commit | fe0d6a9c3fef2ef45f9e5b822ebfa9ed5823cc5e (patch) | |
tree | 18dd0f71df6c37ba9df22d79ab6eedd5457d36bb /etc/rc.d | |
parent | 023ff94b670de205474d6b056d9eba6c4689d2cd (diff) | |
download | FreeBSD-src-fe0d6a9c3fef2ef45f9e5b822ebfa9ed5823cc5e.zip FreeBSD-src-fe0d6a9c3fef2ef45f9e5b822ebfa9ed5823cc5e.tar.gz |
Sync to p4:
o Add shutdown KEYWORD;
o Remove PID check;
o Stop auditd with '-t'
o General cleanup.
Diffstat (limited to 'etc/rc.d')
-rw-r--r-- | etc/rc.d/auditd | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/etc/rc.d/auditd b/etc/rc.d/auditd index 6c4f41c..6f3ebd0 100644 --- a/etc/rc.d/auditd +++ b/etc/rc.d/auditd @@ -8,6 +8,7 @@ # PROVIDE: auditd # REQUIRE: syslogd # BEFORE: DAEMON +# KEYWORD: shutdown . /etc/rc.subr @@ -23,11 +24,7 @@ required_files="/etc/security/audit_class /etc/security/audit_control auditd_stop() { - if [ -f /var/run/auditd.pid ]; then - /usr/sbin/audit -t - else - echo "The audit daemon is not running"; - fi + /usr/sbin/audit -t } load_rc_config $name |