Switched to conveyance selftest

This commit is contained in:
Markus Fleschutz 2024-04-28 15:56:17 +02:00
parent c9867174cd
commit 3ef424ad70

View File

@ -48,10 +48,10 @@ try {
continue
} elseif ($IsLinux) {
$details = (sudo smartctl --all --json $dev) | ConvertFrom-Json
$null = (sudo smartctl --test=short $dev)
$null = (sudo smartctl --test=conveyance $dev)
} else {
$details = (smartctl --all --json $dev) | ConvertFrom-Json
$null = (smartctl --test=short $dev)
$null = (smartctl --test=conveyance $dev)
}
$status = ""
$modelName = $details.model_name