Lines 1-5
Link Here
|
1 |
--- htdocs/smokeping.cgi.dist.orig Mon Sep 26 22:15:57 2005 |
1 |
--- htdocs/smokeping.cgi.dist.orig Fri Mar 31 16:37:51 2006 |
2 |
+++ htdocs/smokeping.cgi.dist Thu Oct 6 10:40:18 2005 |
2 |
+++ htdocs/smokeping.cgi.dist Fri Mar 31 16:40:00 2006 |
3 |
@@ -1,13 +1,12 @@ |
3 |
@@ -1,13 +1,12 @@ |
4 |
-#!/usr/sepp/bin/speedy -w |
4 |
-#!/usr/sepp/bin/speedy -w |
5 |
+#!%%PREFIX%%/bin/speedy -w |
5 |
+#!%%PREFIX%%/bin/speedy -w |
Lines 10-19
Link Here
|
10 |
+use lib qw(%%PREFIX%%/smokeping/lib); |
10 |
+use lib qw(%%PREFIX%%/smokeping/lib); |
11 |
use CGI::Carp qw(fatalsToBrowser); |
11 |
use CGI::Carp qw(fatalsToBrowser); |
12 |
|
12 |
|
13 |
use Smokeping 2.000005; |
13 |
use Smokeping 2.000007; |
14 |
|
14 |
|
15 |
-Smokeping::cgi("/home/oetiker/data/projects/AADJ-smokeping/dist/etc/config"); |
15 |
-Smokeping::cgi("/home/oetiker/data/projects/AADJ-smokeping/dist/etc/config"); |
16 |
+Smokeping::cgi("%%PREFIX%%/etc/smokeping/config"); |
16 |
+Smokeping::cgi("%%PREFIX%%/etc/smokeping/config"); |
17 |
|
17 |
|
18 |
=head1 NAME |
18 |
=head1 NAME |
|
|
19 |
|
20 |
@@ -34,23 +33,8 @@ |
21 |
|
22 |
=head1 SETUP |
23 |
|
24 |
-When installing SmokePing, this file has to be adjusted to fit your |
25 |
-local system. Three paths have to be entered. |
26 |
- |
27 |
- use lib qw(/usr/pack/rrdtool-1.0.33-to/lib/perl); |
28 |
- |
29 |
-One pointing to your B<rrdtool> installation |
30 |
- |
31 |
- use lib qw(/home/oetiker/public_html/smokeping/lib); |
32 |
- |
33 |
-One pointing to the place where you have installed the SmokePing libraries |
34 |
- |
35 |
- use Smokeping; |
36 |
- |
37 |
- Smokeping::cgi("/home/oetiker/.smokeping/config"); |
38 |
- |
39 |
-The third path is the argument to the Smokeping::cgi command. It points to |
40 |
-the SmokePing configuration file. |
41 |
+When installing SmokePing, this file has been adjusted to fit your |
42 |
+local system. There should be no need for further path adjustments. |
43 |
|
44 |
=head1 COPYRIGHT |