Revert "reuse working smartclt cmd"

This reverts commit 84a2da8bc2.
This commit is contained in:
2024-06-01 15:04:06 +02:00
parent 84a2da8bc2
commit 93c52f9a69
3 changed files with 19 additions and 61 deletions

View File

@ -45,7 +45,6 @@ private:
double d32TaskPercentage = 0U; // in percent for Shred (1 to 100)
time_t u32TimestampTaskStart = 0U; // unix timestamp for duration of an action
time_t u32TaskDuration = 0U; // time needed to complete the task
string desiredSmartctlCommand; //command used to gather S.M.A.R.T. values from drive
struct
{
@ -78,7 +77,6 @@ public:
uint32_t getPowerOnHours(void); // in hours
uint32_t getPowerCycles(void);
uint32_t getTemperature(void); // in Fahrenheit, just kidding: degree Celsius
void checkFrozenDrive(void);
void setDriveSMARTData(string modelFamily,
@ -102,9 +100,6 @@ public:
void setActionStartTimestamp();
time_t getActionStartTimestamp();
void setSmartcltCommand(string cmd);
string getSmartcltCommand(void);
void calculateTaskDuration();
time_t getTaskDuration();
};