getInfo 2.8.7

This commit is contained in:
kyodev 2017-10-17 23:36:01 +02:00
parent 65b9082c68
commit 58d7dcc082
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
#!/bin/bash
version=2.8.6
version=2.8.7
date="17/10/2017"
projet="simpledeb"
contact="IRC freenode ##sdeb ou https://framagit.org/kyodev/kyopages/issues/"
@ -382,7 +382,7 @@ fi_disk(){ # 17/10/2017
if [ "$(which hddtemp)" ]; then
unset dd_temp dd_temp_alert
for idisk in $disk_fix; do
[ -r '/dev/$idisk' ] || continue
[ -r "/dev/$idisk" ] || continue
tempodd="$(LC_ALL=C hddtemp /dev/$idisk | cut -d ':' -f3 | sed 's/[^0-9]*//g; /not available/d')"
dd_temp+="$idisk: $tempodd °C"$' \n'
[ "$tempodd" -ge 50 ] && dd_temp_alert+="/!\ $idisk: température > 50°C) "$' \n'

View File

@ -21,7 +21,7 @@
* f__requis f__wget_test fscript_get_version fscript_update fscript_cronAnacron
## 2.8.6 17/10/2017
## 2.8.7 17/10/2017
* nouveau: figet_hw_test, acpi -V si disponible, tests (temporaires) sur
/sys/class/thermal/ & /sys/devices/virtual/thermal/ & hwmon0(méthode neofetch)