Update storage-test.sh
This commit is contained in:
@@ -106,8 +106,7 @@ ChosenPartition=""
|
|||||||
if [ "$1" = "" ]; then
|
if [ "$1" = "" ]; then
|
||||||
# User did not provide a partition/folder, change directory to rootfs
|
# User did not provide a partition/folder, change directory to rootfs
|
||||||
df=0
|
df=0
|
||||||
df | grep ext4
|
drives="$(/bin/df -kTh | grep ext4)"
|
||||||
drives="$(df | grep ext4)"
|
|
||||||
echo "$drives"
|
echo "$drives"
|
||||||
echo "$drives" | while IFS= read -r line ; do
|
echo "$drives" | while IFS= read -r line ; do
|
||||||
((df++))
|
((df++))
|
||||||
|
|||||||
Reference in New Issue
Block a user