clear sequence

This commit is contained in:
Bob Mottram 2018-04-22 11:59:26 +01:00
parent 38c0fc7673
commit 110c2a33e4
1 changed files with 1 additions and 1 deletions

View File

@ -1808,13 +1808,13 @@ function performance_benchmarks {
if [ ! -f /sbin/hdparm ]; then if [ ! -f /sbin/hdparm ]; then
apt-get -yq install hdparm apt-get -yq install hdparm
clear
fi fi
test_drive=/dev/sda1 test_drive=/dev/sda1
if ls /dev/mmcblk0p2; then if ls /dev/mmcblk0p2; then
test_drive=/dev/mmcblk0p2 test_drive=/dev/mmcblk0p2
fi fi
clear
echo '' echo ''
echo $"Testing read speed of drive $test_drive" echo $"Testing read speed of drive $test_drive"
hdparm -tT $test_drive hdparm -tT $test_drive