plus le -20
darcs-hash:20010525114901-7726f-98565db02369ae268d03d6af172a2be930572cfd.gz
This commit is contained in:
parent
f69e30b562
commit
b49e0ab1cb
1 changed files with 6 additions and 3 deletions
9
temp-avg
9
temp-avg
|
@ -1,11 +1,14 @@
|
|||
#!/bin/sh
|
||||
# je pipe vers calculatrice pour enlever 30 °, ça donne plus de précision. Sam. (/1 fait truncate.)
|
||||
|
||||
echo $(cat /proc/sys/dev/sensors/w83781d-i2c-0-2d/temp1 | tail -c 5 | head -c 2 )"/1-20"|bc
|
||||
echo $(cat /proc/sys/dev/sensors/w83781d-i2c-0-2d/temp2 | tail -c 5 | head -c 2 )"/1-20"|bc
|
||||
#echo $(cat /proc/sys/dev/sensors/w83781d-i2c-0-2d/temp2 | tail -c 5 | head -c 2 )"/1-20"|bc
|
||||
#echo $(cat /proc/sys/dev/sensors/w83781d-i2c-0-2d/temp1 | tail -c 5 | head -c 2 )"/1-20"|bc
|
||||
#echo 10
|
||||
#echo 12
|
||||
|
||||
echo $(cat /proc/sys/dev/sensors/w83781d*/temp1 | tail -c 5 | head -c 2 )
|
||||
|
||||
echo $(cat /proc/sys/dev/sensors/w83781d*/temp2 | tail -c 5 | head -c 2 )
|
||||
echo
|
||||
echo "Température-20°"
|
||||
echo "Température°"
|
||||
# passage de -30 a -20 le 3 Oct 23:30 car nouveau local -> nouvelle temperature..
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue