1
0
mirror of https://github.com/Spearfoot/FreeNAS-scripts synced 2025-12-06 01:23:19 +00:00

Original submission

This commit is contained in:
Keith Nash
2017-03-19 10:28:31 -05:00
committed by GitHub
parent 3ee9e953f5
commit 49340b067e

View File

@@ -45,5 +45,5 @@ for drive in $drives; do
if [ -z "$brand" ]; then
brand=$(/usr/local/sbin/smartctl -i /dev/${drive} | grep "Device Model" | awk '{print $3, $4, $5}')
fi
printf "%5.5s: %3.3sC %s %s %s\n" "$drive" "$temp" "$brand" "$serial"
printf "%5.5s: %3.3sC %s %s\n" "$drive" "$temp" "$brand" "$serial"
done