mirror of
https://github.com/Spearfoot/disk-burnin-and-testing.git
synced 2026-10-25 18:40:12 -04:00
query "Model Number" when getting disk model
This commit is contained in:
parent
31def99394
commit
bfa816c68b
1 changed files with 1 additions and 0 deletions
|
|
@ -315,6 +315,7 @@ get_smart_test_duration() {
|
|||
# Get disk model
|
||||
DISK_MODEL="$(get_smart_info_value "Device Model")"
|
||||
[ -z "${DISK_MODEL}" ] && DISK_MODEL="$(get_smart_info_value "Model Family")"
|
||||
[ -z "${DISK_MODEL}" ] && DISK_MODEL="$(get_smart_info_value "Model Number")"
|
||||
readonly DISK_MODEL
|
||||
|
||||
# Get disk type
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue