From 68877ebff47774a19d8b6c434c9c506af16f8c09 Mon Sep 17 00:00:00 2001 From: Waldek Date: Thu, 25 Feb 2021 11:27:01 +0100 Subject: [PATCH] updated check RPI temp CPU --- sysinfo/graph.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysinfo/graph.sh b/sysinfo/graph.sh index 3aed331..bdec700 100755 --- a/sysinfo/graph.sh +++ b/sysinfo/graph.sh @@ -13,7 +13,7 @@ tempcpu=false # For Raspberry PI set tempcup=true and uncomnet below: #FILE=/sys/class/thermal/thermal_zone0/temp -#if [[ -f "$FILE" ]]; then +#if [[ -f "$FILE" ]] && $tempcpu == "True" ; then #tempC=`cat /sys/class/thermal/thermal_zone0/temp |awk '{printf("%.1f",$1)}'` #fi