7 lines
105 B
Bash
7 lines
105 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
temp=`cat /sys/class/hwmon/hwmon5/temp1_input`
|
||
|
n=1000
|
||
|
|
||
|
printf "Coffee: %s°C" $(($temp / $n))
|