From 8a02eebce4d31a865ff086dd84b252e1254fb223 Mon Sep 17 00:00:00 2001 From: jfontaine35 <76435797+jfontaine35@users.noreply.github.com> Date: Wed, 1 Feb 2023 18:26:08 +0100 Subject: [PATCH] Update .profile --- .profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.profile b/.profile index a5f2451..cd19151 100644 --- a/.profile +++ b/.profile @@ -69,7 +69,7 @@ else echo -e "\033[0;32mIl n'y a pas de mises à jour en attente.\033[0m" fi -echo "Temp : $(cat /sys/devices/platform/coretemp.0/hwmon/hwmon2/device/hwmon/hwmon2/temp1_input|sed 's/\(.\)..$/.\1°C/')" +echo "Temp : $(cat /sys/devices/platform/coretemp.0/hwmon/hwmon2/device/temp2_input|sed 's/\(.\)..$/.\1°C/')" # Disk : Verification de l'espace restant FD=$(echo $(df -h 2>/dev/null | grep '/$' | sed -e 's/ /:/g' | sed -e 's/::/:/g' | sed -e 's/::/:/g'| sed -e 's/::/:/g' | cut -d ':' -f5)| cut -d '%' -f1) #[ $FD -lt $MaxHDUse ] && libre="\e[01;32;7m $FD% \e[0m" || libre="\e[41;37;5m $FD% \e[0m"