Add support for add extra commands to smartctl
Add extra commands on a drive by drive basis for smartctl
This commit is contained in:
@@ -358,7 +358,8 @@ class MonitorWindow(QMainWindow):
|
||||
try:
|
||||
for _drive in self.multiDrive.drives:
|
||||
if not _drive in self.driveTempFilter:
|
||||
temperatures.append( self.multiDrive.driveTemp( _drive ) )
|
||||
extraCmd = self.config.getValue( 'smartctl', _drive, None )
|
||||
temperatures.append( self.multiDrive.driveTemp( _drive, extraCmd ))
|
||||
except Exception:
|
||||
temperatures = [ 0.0 for _ in self.multiDrive.drives ]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user