Correction création variable MODEL
This commit is contained in:
parent
064111ebd2
commit
9e47f7057d
|
@ -36,7 +36,7 @@ do
|
|||
done
|
||||
ARRAY_TEMPS+=$DUREE_TEST
|
||||
/usr/sbin/smartctl -t long "$i" > /dev/null 2>&1
|
||||
MODEL=($(/usr/sbin/smartctl -i /dev/sda | grep "Device Model:" | sed "s/Device Model: //g"))
|
||||
MODEL=($(/usr/sbin/smartctl -i $i | grep "Device Model:" | sed "s/Device Model: //g"))
|
||||
echo "Le selftest pour le disque ${MODEL[@]} prendra $DUREE_TEST minutes."
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in New Issue