mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 11:13:24 +02:00
Add webinterface frontend for fireinfo.
This commit is contained in:
@@ -388,6 +388,11 @@ END
|
||||
END
|
||||
}
|
||||
|
||||
# Fireinfo
|
||||
if ( ! -e "/var/ipfire/main/send_profile") {
|
||||
$warnmessage .= "<li><a style='color: white;' href='fireinfo.cgi'>$Lang::tr{'fireinfo please enable'}</a></li>";
|
||||
}
|
||||
|
||||
# Memory usage warning
|
||||
my @free = `/usr/bin/free`;
|
||||
$free[1] =~ m/(\d+)/;
|
||||
@@ -436,7 +441,6 @@ foreach my $file (@files) {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if ($warnmessage) {
|
||||
print "<tr><td align='center' bgcolor=$Header::colourred colspan='3'><font color='white'>$warnmessage</font></table>";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user