rrd graphs: Remove unused individual graph output

PNG generation has been moved to getrrdimage.cgi

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
Leo-Andres Hofmann
2021-07-16 10:39:37 +02:00
committed by Arne Fitzenreiter
parent 1f60759eab
commit 05c8c10f19
11 changed files with 0 additions and 168 deletions

View File

@@ -30,16 +30,6 @@ require "${General::swroot}/lang.pl";
require "${General::swroot}/header.pl";
require "${General::swroot}/graphs.pl";
my @querry = split(/\?/,$ENV{'QUERY_STRING'});
$querry[0] = '' unless defined $querry[0];
$querry[1] = 'hour' unless defined $querry[1];
if ( $querry[0] ne~ "") {
print "Content-type: image/png\n\n";
binmode(STDOUT);
&Graphs::updateentropygraph($querry[1]);
} else {
&Header::showhttpheaders();
&Header::openpage($Lang::tr{'entropy'}, 1, '');
&Header::openbigbox('100%', 'left');
@@ -86,7 +76,6 @@ EOF
&Header::closebigbox();
&Header::closepage();
}
sub has_rdrand() {
open(FILE, "/proc/cpuinfo") or return 0;