mirror of
https://github.com/Spearfoot/FreeNAS-scripts
synced 2025-12-06 01:23:19 +00:00
Original submission
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user