Do not capitalize first character of device name

To avoid naming confusion, keep names in lowercase
This commit is contained in:
bergware
2022-03-10 09:55:32 +01:00
parent aa1fc12c13
commit df813eb7bb

View File

@@ -55,7 +55,7 @@ function my_temp($value) {
}
function my_disk($name,$raw=false) {
global $display;
return $display['raw']||$raw ? $name : ucfirst(preg_replace('/(\d+)$/',' $1',$name));
return $display['raw']||$raw ? $name : preg_replace('/(\d+)$/',' $1',$name);
}
function my_disks($disk) {
return strpos($disk['status'],'_NP')===false;