INNER CODE UNIT · Shell
USER_HOME_PATH
geerlingguy/raspberry-pi-dramble · setup/benchmarks/disk-benchmark.sh:30
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 fio` ]; then
printf "Installing fio...\n"
apt-get install -y fio
printf "Install complete!\n\n"
fi
if [ ! `which curl` ]; then
printf "Installing curl...\n"
apt-get install -y curl
printf "Install complete!\n\n"
fi
if [ ! `which make` ]; then