output tweak

This commit is contained in:
inxi-svn 2009-07-27 04:39:11 +00:00
parent f9b4b1bdce
commit 5193280b8d

6
inxi
View file

@ -3913,21 +3913,21 @@ print_sensors_data()
else
mobo_temp='N/A'
fi
mobo_temp="${C1}Temps: mobo:${C2} $mobo_temp"
mobo_temp="${C1}Mobo Temp:${C2} $mobo_temp"
if [[ -n ${A_SENSORS_DATA[1]} ]];then
cpu_temp=${A_SENSORS_DATA[1]}
else
cpu_temp='N/A'
fi
cpu_temp="${C1}cpu:${C2} $cpu_temp"
cpu_temp="${C1}Cpu Temp:${C2} $cpu_temp"
if [[ -n ${A_SENSORS_DATA[2]} ]];then
cpu_fan=${A_SENSORS_DATA[2]}
else
cpu_fan='N/A'
fi
cpu_fan="${C1}Fans: cpu:${C2} $cpu_fan rpm"
cpu_fan="${C1}Cpu Fan:${C2} $cpu_fan rpm"
sensors_data=${A_SENSORS_DATA[0]}
fi
sensors_data="$mobo_temp $cpu_temp $cpu_fan"