summaryrefslogtreecommitdiffstats
path: root/net/icradius/files/patch-src::checkrad.pl
blob: 2477517feeba5ebbab76c64e13f037112dcfdbc8 (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
--- src/checkrad.pl.orig	Thu Oct 26 07:35:29 2000
+++ src/checkrad.pl	Wed Jul  4 16:43:11 2001
@@ -35,17 +35,17 @@
 #		$naspass is the location of your NAS admin password file
 #
 
-$prefix		= "/usr/local";
+$prefix		= "%%PREFIX%%";
 $localstatedir	= "/var";
 $logdir		= "${localstatedir}/log";
-$sysconfdir	= "/etc";
+$sysconfdir	= "${prefix}/etc";
 $raddbdir	= "${sysconfdir}/raddb";
 
 $debug		= "";
 #$debug		= "$logdir/checkrad.log";
 
-$snmpget	= "/usr/bin/snmpget";
-$snmpwalk	= "/usr/bin/snmpwalk";
+$snmpget	= "${prefix}/bin/snmpget";
+$snmpwalk	= "${prefix}/bin/snmpwalk";
 $rusers		= "/usr/bin/rusers";
 $naspass	= "$raddbdir/naspasswd";
 
OpenPOWER on IntegriCloud