Lines 1-18
Link Here
|
1 |
--- trend.cgi.orig Thu Dec 14 01:07:06 2006 |
|
|
2 |
+++ trend.cgi Thu Dec 14 01:08:21 2006 |
3 |
@@ -1,5 +1,4 @@ |
4 |
-#!/usr/bin/perl |
5 |
-##!/usr/bin/speedy |
6 |
+#!%%LOCALBASE%%/bin/speedy -- -M20 -t3600 -gnone -r500 |
7 |
# vim:ts=4 |
8 |
# trend.cgi |
9 |
# Generate a trending graph, based on yearly data, for the specified |
10 |
@@ -67,7 +66,7 @@ |
11 |
my( $BASE ) = 0; # 0=current, 1=average |
12 |
my( $device, $community, $targetwindow, $target, $file, $backurl ) |
13 |
= ( "","public","graph","","",""); |
14 |
-my( $conffile ) = "/u01/etc/routers2.conf"; # overridden by passed parameters |
15 |
+my( $conffile ) = "%%LOCALBASE%%/etc/routers2.conf"; # overridden by passed parameters |
16 |
my( $routersurl ) = ''; |
17 |
my( $q ) = new CGI; |
18 |
my( %headeropts ) = (); |