also run hddtemp over my nvme drives
This commit is contained in:
parent
0cff0987e5
commit
f2fd624c74
1 changed files with 1 additions and 1 deletions
|
|
@ -201,7 +201,7 @@ while () {
|
|||
# could just be a simple pipe, but hddtemp has a strong posibility
|
||||
# to be stuck in a D state, and hold STDERR open despite a kill
|
||||
# -9, so instead just send it to a tempfile, and read from that tempfile
|
||||
system("timeout -k 1 20 hddtemp /dev/sd? | grep -v 'not available' > $tempfilename");
|
||||
system("timeout -k 1 20 hddtemp /dev/sd? /dev/nvme?n? | grep -v 'not available' > $tempfilename");
|
||||
@hddtemps=`cat < $tempfilename`;
|
||||
}
|
||||
if (!@ambient_ipmitemps) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue