Update .profile

This commit is contained in:
jfontaine35 2023-02-01 18:26:08 +01:00 committed by GitHub
parent 9a590c0755
commit 8a02eebce4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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"