Annotation of src/etc/monthly, Revision 1.2
1.1 deraadt 1: #!/bin/sh -
2: #
3: # @(#)monthly 5.5 (Berkeley) 6/17/91
4: #
5:
6: host=`hostname -s`
7: echo "Subject: $host monthly run output"
8:
1.2 ! david 9: if [ -f /etc/monthly.local ];then
! 10: echo ""
! 11: echo "Running monthly.local:"
! 12: . /etc/monthly.local
! 13: else
! 14: echo "Nothing to do!"
! 15: fi
! 16:
1.1 deraadt 17: # echo ""
18: # echo "Doing login accounting:"
19: # ac -p | sort -nr +1
20:
21: # Rotation of these logs now handled automatically by cron and 'newsyslog':
22: # kerberos.log
23: # lpd-errs
24: # wtmp
25: # aculog
26: # cron
27:
28: #echo "."