From e04042ec388e908768d7664bc5627c9c52cb8832 Mon Sep 17 00:00:00 2001 From: Christian Rotzoll Date: Wed, 5 Jun 2019 11:32:30 +0200 Subject: [PATCH] #627 added new Fahrenheit Calculations --- home.admin/00infoBlitz.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home.admin/00infoBlitz.sh b/home.admin/00infoBlitz.sh index 20988d4..1510931 100755 --- a/home.admin/00infoBlitz.sh +++ b/home.admin/00infoBlitz.sh @@ -55,7 +55,7 @@ if [ -d "/sys/class/thermal/thermal_zone0/" ]; then cpu=$(cat /sys/class/thermal/thermal_zone0/temp) fi tempC=$((cpu/1000)) -tempF=$(((cpu/1000) * (9/5) + 32)) +tempF=$((((cpu / 1000) * 18 + 320) / 10)) # get memory ram_avail=$(free -m | grep Mem | awk '{ print $7 }')