microsd device name for performance check

This commit is contained in:
Bob Mottram 2018-04-22 11:27:25 +01:00
parent da21f3887e
commit b2542e385c
1 changed files with 2 additions and 2 deletions

View File

@ -1812,8 +1812,8 @@ function performance_benchmarks {
fi fi
test_drive=/dev/sda1 test_drive=/dev/sda1
if [ -f /dev/mmcblk0 ]; then if [ -f /dev/mmcblk0p2 ]; then
test_drive=/dev/mmcblk0 test_drive=/dev/mmcblk0p2
fi fi
echo '' echo ''
echo $"Testing read speed of drive $test_drive" echo $"Testing read speed of drive $test_drive"