mirror of
https://github.com/Spearfoot/disk-burnin-and-testing.git
synced 2025-12-05 23:53:31 +00:00
query "Model Number" when getting disk model
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user