From baa58397d2040d7c31d9097081c71c59c1021c4b Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Tue, 26 Nov 2024 21:23:47 -0600 Subject: [PATCH] Update storage-test.sh --- storage-test.sh | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/storage-test.sh b/storage-test.sh index 5623937..dde4c91 100644 --- a/storage-test.sh +++ b/storage-test.sh @@ -280,10 +280,7 @@ else if [ -z "$HostRAMClock" ]; then HostRAMClock="" fi - HostConfig+=$(echo " ") - HostConfig+=$(vcgencmd get_config str) else - HostConfig+=$(echo " ") HostCPUClock=$(cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq) HostCPUClock=$(echo "scale=0; $HostCPUClock / 1000" | bc) HostCoreClock="" @@ -400,7 +397,6 @@ Test_hwinfo=$(hwinfo --arch --bios --block --bridge --disk --framebuffer --gfxca Test_nvme=$(nvme list -o json 2>&1 | sed 's/\x0//g') #Test_nvme+=$(nvme show-regs "$BootDrive" -H 2>&1 | sed 's/;/!/g' | sed 's/\x0//g') Test_smartctl=$(smartctl -x "$BootDrive" 2>&1 | sed 's/;/!/g' | sed '/^[[:space:]]*$/d') -Test_sdparm=$(sudo sdparm --long --verbose "$BootDrive" 2>&1 | sed 's/;/!/g' | sed '/^[[:space:]]*$/d') Capacity=$(lsblk -l 2>&1 | grep "$BootDriveSuffix" -m 1 | awk 'NR==1{ print $4 }' | sed 's/,/./g') Print_Style "Additional hardware identification tests completed." "$YELLOW" @@ -913,13 +909,11 @@ if [[ ! "$UserAlias" ]]; then UserAlias="Anonymous"; fi # Submit results tmpUdev=$(echo -e "$Test_udevadm" >tmpudev) tmpInxi=$(echo -e "$Test_inxi" >tmpinxi) -tmpLshw=$(echo -e "$Test_lshw" >tmplshw) tmpHwinfo=$(echo -e "$Test_hwinfo" >tmphwinfo) tmpDmi=$(echo -e "$Test_dmidecode" >tmpdmi) tmpDmesg=$(echo -e "$Test_dmesg" >tmpdmesg) tmpSmart=$(echo -e "$Test_smartctl" >tmpsmart) -tmpParm=$(echo -e "$Test_sdparm" >tmpparm) -Submit=$(curl -s -k -L --form "form_tools_form_id=1" --form "DDTest=$DDWrite" --form "DDWriteSpeed=$DDWriteResult" --form "HDParmDisk=$HDParmDisk" --form "HDParmCached=$HDParmCached" --form "HDParm=$HDParm" --form "fio4kRandRead=$fio4kRandRead" --form "fio4kRandWrite=$fio4kRandWrite" --form "fio4kRandWriteIOPS=$fio4kRandWriteIOPS" --form "fio4kRandReadIOPS=$fio4kRandReadIOPS" --form "fio4kRandWriteSpeed=$fio4kRandWriteSpeed" --form "fio4kRandReadSpeed=$fio4kRandReadSpeed" --form "IOZone=$IOZone" --form "IO4kRandRead=$IO4kRandRead" --form "IO4kRandWrite=$IO4kRandWrite" --form "IO4kRead=$IO4kRead" --form "IO4kWrite=$IO4kWrite" --form "Drive=$BootDrive" --form "Test_hdparm=$Test_hdparm" --form "Test_lsblk=$Test_lsblk" --form "Test_findmnt=$Test_findmnt" --form "Test_lsusb=$Test_lsusb" --form "Test_lshw=