Drive logic when testing performance
This commit is contained in:
parent
9a88f71564
commit
26b7ece1a3
|
@ -1811,8 +1811,12 @@ function performance_benchmarks {
|
|||
fi
|
||||
|
||||
test_drive=/dev/sda1
|
||||
if ls /dev/mmcblk0p2; then
|
||||
test_drive=/dev/mmcblk0p2
|
||||
if ! ls $test_drive; then
|
||||
if ls /dev/mmcblk0p2; then
|
||||
test_drive=/dev/mmcblk0p2
|
||||
else
|
||||
return
|
||||
fi
|
||||
fi
|
||||
clear
|
||||
echo ''
|
||||
|
|
Loading…
Reference in New Issue