summaryrefslogtreecommitdiff
path: root/net/nocol/patches/patch-ai
blob: b184114942922994d5b3ff59e333b93439f562ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ai,v 1.1 2002/05/14 08:38:26 abs Exp $

--- perlnocol/nocollib.pl.orig	Tue May  7 09:51:23 2002
+++ perlnocol/nocollib.pl
@@ -52,7 +52,7 @@
 $etcdir  = "$nocolroot/etc"  unless $etcdir;	# location of config file
 $piddir  = "$nocolroot/run"  unless $piddir;	# SET_THIS
 $bindir  = "$nocolroot/bin"  unless $bindir;
-$datadir = "$nocolroot/data" unless $datadir;	# output data file
+$datadir = "/var/run/data"   unless $datadir;	# output data file
 
 push(@INC, $bindir); push(@INC, $etcdir); # add to search paths for 'require'
 $ENV{'PATH'} .= ":$bindir";             # add to path for snmpwalk, etc.