x86_64 #1

Merged
wt merged 18 commits from x86_64 into main 2024-12-24 11:19:21 +00:00
Showing only changes of commit 680c7eeea8 - Show all commits
+11
View File
@@ -0,0 +1,11 @@
#!/bin/sh
if [ ! -d /sys/class/thermal ]; then
echo ERROR: no thermal interfaces
exit 1
fi
for interface in $(ls /sys/class/thermal/ | grep thermal_zone); do
echo $interface: $(($(cat /sys/class/thermal/$interface/temp)/1000))C
done