Update storage-test.sh

This commit is contained in:
2025-09-27 11:18:22 -05:00
parent b08342b13d
commit b4ad1ecdc1

View File

@@ -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