Remove hddtemp usage in nvme.pm as it doesn't support nvme at the moment.

This commit is contained in:
Andreas Bachlechner 2021-09-28 10:21:34 +02:00
parent 1888ff027e
commit 88f790fb55
1 changed files with 0 additions and 9 deletions

View File

@ -231,15 +231,6 @@ sub nvme_update {
}
}
close(IN);
if(!$temp) {
if(open(IN, "hddtemp -wqn $d |")) {
$temp = <IN>;
close(IN);
} else {
logger("$myself: 'smartctl' failed to get data from '$d' and 'hddtemp' seems doesn't exist.");
}
}
chomp($temp);
}
$rrdata .= ":$temp";
$rrdata .= ":$smart1";