From 72ef42f662f14e931a33265c49c41419ad28253a Mon Sep 17 00:00:00 2001 From: Bray <6+bray@noreply.localhost> Date: Wed, 2 Dec 2026 15:08:22 +0000 Subject: [PATCH] Upload files to "/" --- gfxb | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/gfxb b/gfxb index 6ca5581..742d521 100644 --- a/gfxb +++ b/gfxb @@ -4,8 +4,9 @@ sudo clear ts=$(date +%Y-%m-%d-%T) -echo "UID: " -read -r uid +#echo "UID: " +#read -r uid +uid=gfxb clear sudo rm -rf ./.tmp/"$uid".log #sudo rm -rf ./.tmp/ @@ -22,7 +23,7 @@ actgpu=$(sudo glxinfo | grep -i "opengl renderer" | sed s/'OpenGL renderer strin #actgpuven=$(sudo glxinfo | grep -i "opengl vendor" | sed s/'OpenGL vendor string: '//g | sed s/'Corporation '//g) clear echo "================================================================================" | tee -a ./.tmp/"$uid".log -echo " GFX BENCHMARK UID: $uid DATE: ${ts}" | tee -a ./.tmp/"$uid".log +echo " GFX BENCHMARK GPU: $gpu DATE: ${ts}" | tee -a ./.tmp/"$uid".log echo "================================================================================" | tee -a ./.tmp/"$uid".log echo " GPU: $gpu" | tee -a ./.tmp/"$uid".log echo " VENDOR: $gpuven" | tee -a ./.tmp/"$uid".log @@ -111,6 +112,8 @@ echo " $tech" >> ./.tmp/"$uid".log echo | tee -a ./.tmp/"$uid".log echo "================================================================================" | tee -a ./.tmp/"$uid".log ## REPORT END +echo "UID: "; read -r uid +mv ./.tmp/gfxb.log ./.tmp/"$uid".log echo " PRESS ENTER TO PRINT REPORT OR CTRL-C TO EXIT" read -r -n1 echo "================================================================================"