mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-12 04:05:53 +02:00
Graphen gefixt.
Bootlogo zur Iso hinzugefuegt. Memtest hinzugefuegt. (Kann man sicherlich mal brauchen denke ich.) git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@368 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user