From b05a8177695eb693ef74137c5afd13781f703b84 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Mon, 23 Dec 2024 12:18:26 -0800 Subject: [PATCH] Update runShell.sh --- runShell.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runShell.sh b/runShell.sh index cfd02da..6ae340b 100644 --- a/runShell.sh +++ b/runShell.sh @@ -17,8 +17,8 @@ then # temp in fahrenheit tempf=$(echo "scale=2; $temp * 9 / 5 + 32" | bc) else - temp="N/A" - tempf="N/A" + temp=$(paste <(cat /sys/class/thermal/thermal_zone*/type) <(cat /sys/class/thermal/thermal_zone*/temp)) + tempf=$(echo "scale=2; $temp * 9 / 5 + 32" | bc) fi