projects
/
platform
/
upstream
/
audit.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported Upstream version 2.4.3
[platform/upstream/audit.git]
/
init.d
/
auditd.cron
1
#!/bin/sh
2
3
##########
4
# This script can be installed to get a daily log rotation
5
# based on a cron job.
6
##########
7
8
/sbin/service auditd rotate
9
EXITVALUE=$?
10
if [ $EXITVALUE != 0 ]; then
11
/usr/bin/logger -t auditd "ALERT exited abnormally with [$EXITVALUE]"
12
fi
13
exit 0
14