]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - src/scripts/makegraphs
Graphen gefixt.
[ipfire-2.x.git] / src / scripts / makegraphs
index 03a53fedeb5ad517abb128e7648bd8cccad527d5..89159fbb53ecce2ed01fae436fc82c93746b6b0c 100644 (file)
@@ -55,7 +55,7 @@ if ((${Lang::language} eq 'el') ||
 
 # Settings
 my $rrdlog = "/var/log/rrd";
-my $graphs = "/home/httpd/html/graphs";
+my $graphs = "/srv/web/ipfire/html/graphs";
 $ENV{PATH}="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin";
 my $hdd_device = "/dev/harddisk";
 my $temp = '';
@@ -1020,7 +1020,7 @@ sleep 8;
 ### Squid Graphs
 ###
 if ( -e "/var/log/squid/access.log") {
-       system ("/usr/bin/squid-graph -o=/home/httpd/html/sgraph --tcp-only < /var/log/squid/access.log >/dev/null 2>&1");
+       system ("/usr/bin/squid-graph -o=/srv/web/ipfire/html/sgraph --tcp-only < /var/log/squid/access.log >/dev/null 2>&1");
 }
 
 ###
@@ -1270,6 +1270,6 @@ if ($settings{'CONFIG_TYPE'} =~ /^(4|5|6|7)$/ && -e "$rrdlog/BLUE.rrd") {
        updateifgraph ("BLUE", "year");
 }
 
-system("chmod -R 0777 /home/httpd/html/graphs");
-system("chmod -R 0777 /home/httpd/html/sgraph");
+system("chmod -R 0777 /srv/web/ipfire/html/graphs");
+system("chmod -R 0777 /srv/web/ipfire/html/sgraph");