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