Update storage-test.sh
This commit is contained in:
@@ -107,10 +107,7 @@ IO4kRandWrite=0
|
||||
ChosenPartition=""
|
||||
if [ "$1" = "" ]; then
|
||||
drives="$(/bin/df -kTh | grep ext4)"
|
||||
echo "HERE: ${#drives}"
|
||||
drives2=(${drives})
|
||||
echo "HERE: `echo ${drives2[0]} | cut -d'%' -f2`"
|
||||
echo "HERE: `echo ${drives2[1]} | cut -d'%' -f2`"
|
||||
echo
|
||||
Print_Style "Select a drive to test from:" "$YELLOW"
|
||||
df=0
|
||||
@@ -128,6 +125,7 @@ if [ "$1" = "" ]; then
|
||||
cd "${ChosenPartition}"
|
||||
Print_Style "${ChosenPartition} has been selected:" "$YELLOW"
|
||||
echo
|
||||
break
|
||||
fi
|
||||
done <<< "$drives"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user