getInfo 2.4.2

This commit is contained in:
kyodev 2017-10-13 01:17:19 +02:00
parent d557c5d313
commit e19341f88e
2 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
#!/bin/bash
version=2.4.1
version=2.4.2
date="13/10/2017"
projet="simpledeb"
contact="IRC freenode ##sdeb ou https://framagit.org/kyodev/kyopages/issues/"
@ -1268,13 +1268,13 @@ figet_hw(){ # 13/10/2017
if grep -q 'core' <<< $(cat /sys/class/hwmon/$ihw/name) ; then
nbc=$(( nbc+1 ))
core+="core$nbc $input""°C "
[ "$max" ] && core+="(max: $mac""°C) "
[ "$max" ] && core+="(max: $max""°C) "
[ "$crit" ] && core+="(crit: $crit""°C) "
[ "$hyst" ] && core+="(hyst: $hyst""°C) "
[ "$core" ] && core+=$' \n'
else
autre+="$(cat /sys/class/hwmon/$ihw/name) $input""°C "
[ "$max" ] && autre+="(max: $mac""°C) "
[ "$max" ] && autre+="(max: $max""°C) "
[ "$crit" ] && autre+="(crit: $crit""°C) "
[ "$hyst" ] && autre+="(hyst: $hyst""°C) "
[ "$autre" ] && autre+=$' \n'

View File

@ -9,7 +9,7 @@
---
## 2.4.1 13/10/2017
## 2.4.2 13/10/2017
* révision: fix figet_hw_test: +sensors si possible +figet_hw
* mieux: figet_hw autres seuils de température