INNER CODE UNIT · Shell
USB_DEVICE_MOUNT_PATH
geerlingguy/raspberry-pi-dramble · setup/benchmarks/usb-benchmarks.sh:32
USB_DEVICE_MOUNT_PATH=/arcanite
# Variables.
USER_HOME_PATH=$(getent passwd $SUDO_USER | cut -d: -f6)
IOZONE_INSTALL_PATH=$USER_HOME_PATH
IOZONE_VERSION=iozone3_492
cd $IOZONE_INSTALL_PATH
# Install dependencies.
if [ ! `which hdparm` ]; then
printf "Installing hdparm...\n"
apt-get install -y hdparm
printf "Install complete!\n\n"
fi
if [ ! `which curl` ]; then
printf "Installing curl...\n"
apt-get install -y curl