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