blob: c0048540a050d6890cd84809dbae51b43e924a97 (
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
|
$NetBSD: patch-ab,v 1.2 2001/07/17 15:50:32 nra Exp $
--- systems/freebsd/logcheck.sh.orig Tue Jul 17 10:35:58 2001
+++ systems/freebsd/logcheck.sh Tue Jul 17 10:35:35 2001
@@ -52,7 +52,7 @@
# You would also be well advised to make sure all your system/cron scripts
# use this directory for their "scratch" area.
-TMPDIR=/usr/local/etc/tmp
+TMPDIR=/var/adm/tmp
# The 'grep' command. This command MUST support the
# '-i' '-v' and '-f' flags!! The GNU grep does this by default (that's
@@ -170,9 +170,10 @@
#$LOGTAIL /var/log/secure >> $TMPDIR/check.$$
#$LOGTAIL /var/log/maillog >> $TMPDIR/check.$$
-# FreeBSD 2.x
+# NetBSD
$LOGTAIL /var/log/messages > $TMPDIR/check.$$
$LOGTAIL /var/log/maillog >> $TMPDIR/check.$$
+$LOGTAIL /var/log/authlog >> $TMPDIR/check.$$
# BSDI 2.x
#$LOGTAIL /var/log/messages > $TMPDIR/check.$$
|