|
|
@ -1,5 +1,5 @@ |
|
|
|
# |
|
|
|
# $OpenBSD: daily,v 1.67 2010/07/25 08:49:03 espie Exp $ |
|
|
|
# $OpenBSD: daily,v 1.68 2010/09/22 13:01:10 deraadt Exp $ |
|
|
|
# From: @(#)daily 8.2 (Berkeley) 1/25/94 |
|
|
|
# |
|
|
|
# For local additions, create the file /etc/daily.local. |
|
|
@ -80,10 +80,6 @@ if [ -d /var/rwho -a ! -L /var/rwho ] ; then |
|
|
|
find . ! -name . -mtime +7 -execdir rm -f -- {} \; ; } |
|
|
|
fi |
|
|
|
|
|
|
|
if [ -d /var/msgs -a ! -L /var/msgs ]; then |
|
|
|
msgs -c |
|
|
|
fi |
|
|
|
|
|
|
|
next_part "Purging accounting records:" |
|
|
|
if [ -f /var/account/acct ]; then |
|
|
|
mv -f /var/account/acct.2 /var/account/acct.3 |
|
|
|