aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/smokeping/files/patch-bin-smokeping.dist
blob: e605d1fa2b946fcef6b7288e92e2b417d855919d (plain) (blame)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
--- bin/smokeping.dist.orig	Sun Jan 18 15:48:21 2004
+++ bin/smokeping.dist	Sun Jan 18 15:52:40 2004
@@ -1,14 +1,11 @@
-#!/usr/sepp/bin/perl -w
+#!%%PERL%% -w
 # -*-perl-*-
 
-use lib qw(/home/oetiker/data/projects/AABN-rrdtool/perl-shared/blib/lib);
-use lib qw(/home/oetiker/data/projects/AABN-rrdtool/perl-shared/blib/arch);
-use lib qw(/usr/pack/rrdtool-1.0.40-ds/lib/perl/5.8.0);
-use lib qw(/home/oetiker/data/projects/AADJ-smokeping/dist/lib);
+use lib qw(%%PREFIX%%/smokeping/lib);
 
 use Smokeping 1.28;
 
-Smokeping::main("etc/config.dist");
+Smokeping::main("%%PREFIX%%/etc/smokeping/config");
 
 =head1 NAME
 
@@ -86,22 +83,8 @@
 
 =head1 SETUP
 
-When installing SmokePing, this file has to be adjusted to fit your
-local system. Three paths have to be entered.
-
-One pointing to your B<rrdtool> installation
-
- use lib qw(/usr/pack/rrdtool-1.0.33-to/lib/perl);
-
-One pointing to the place where you have installed the SmokePing libraries
-
- use lib qw(/home/oetiker/public_html/smokeping/lib);
-
-The third path is the argument to the Smokeping::main command. It points to
-the SmokePing configuration file.
-
- use Smokeping;
- Smokeping::main("/home/oetiker/.smokeping/config");
+When installing SmokePing, this file has been adjusted to fit your
+local system. There should be no need for further path adjustments.
 
 =head1 COPYRIGHT