From 426223224bad490c9ec94bfdede62129d0153515 Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Sun, 12 May 2019 23:25:35 +0100 Subject: [PATCH] etc/profile.d/sys.sh --- etc/profile.d/sys.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/etc/profile.d/sys.sh b/etc/profile.d/sys.sh index b7c15a9f..ace9c826 100644 --- a/etc/profile.d/sys.sh +++ b/etc/profile.d/sys.sh @@ -228,10 +228,9 @@ sys_cpu_load() { } sys_cpu_temperature() { + # Mac, others ( - # Mac cat /sys/devices/platform/coretemp.*/hwmon/hwmon*/temp*_max \ - # Others || cat /sys/class/thermal/thermal_zone*/temp ) | awk '/^[0-9]/ {printf("%.1f\n",$1/1000)}' #awk '{printf("%.1f\n",$1/1000)}' /sys/class/thermal/thermal_zone*/temp -- 2.47.3