Multi cache pool support

This commit is contained in:
bergware
2020-05-11 20:54:04 +02:00
parent 3d99914653
commit 332ae48edd
4 changed files with 6 additions and 11 deletions
+3 -1
View File
@@ -191,7 +191,9 @@ function plus($val, $word, $last) {
function compress($name,$size=18,$end=6) {
return strlen($name)<=$size ? $name : substr($name,0,$size-($end?$end+3:0)).'...'.($end?substr($name,-$end):'');
}
function escapestring($name) {
return "\"$name\"";
}
function read_parity_log($epoch, $busy=false) {
$log = '/boot/config/parity-checks.log';
if (file_exists($log)) {