Install benchmarking command if needed
This commit is contained in:
parent
b7bbcea189
commit
267bb7036f
|
@ -1805,6 +1805,12 @@ function wifi_enable {
|
||||||
|
|
||||||
function performance_benchmarks {
|
function performance_benchmarks {
|
||||||
clear
|
clear
|
||||||
|
|
||||||
|
if [ ! -f /sbin/hdparm ]; then
|
||||||
|
apt-get -yq install hdparm
|
||||||
|
clear
|
||||||
|
fi
|
||||||
|
|
||||||
test_drive=/dev/sda1
|
test_drive=/dev/sda1
|
||||||
if [ -f /dev/mmcblk0 ]; then
|
if [ -f /dev/mmcblk0 ]; then
|
||||||
test_drive=/dev/mmcblk0
|
test_drive=/dev/mmcblk0
|
||||||
|
|
Loading…
Reference in New Issue