summaryrefslogtreecommitdiff
path: root/etc/monthly
blob: 8e0cb75af68a224c35f5089ff69f491ab3917a36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh -
#	$OpenBSD: monthly,v 1.3 1996/05/26 10:25:32 deraadt Exp $

host=`hostname -s`
echo "Subject: $host monthly run output"

if [ -f /etc/monthly.local ];then
	echo ""
	echo "Running monthly.local:"
	. /etc/monthly.local
else
	echo "Nothing to do!"
fi

# echo ""
# echo "Doing login accounting:"
# ac -p | sort -nr +1

# Rotation of these logs now handled automatically by cron and 'newsyslog':
#	kerberos.log
#	lpd-errs
#	wtmp
#	aculog
#	cron

#echo "."