mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 16:21:39 +00:00
tweaked output
This commit is contained in:
parent
e0f4f067a1
commit
f16a1b15e2
6
inxi
6
inxi
|
@ -3913,21 +3913,21 @@ print_sensors_data()
|
|||
else
|
||||
mobo_temp='N/A'
|
||||
fi
|
||||
mobo_temp="${C1}mobo temp:${C2} $mobo_temp"
|
||||
mobo_temp="${C1}Temps: mobo:${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 temp:${C2} $cpu_temp"
|
||||
cpu_temp="${C1}cpu:${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}cpu fan:${C2} $cpu_fan rpm"
|
||||
cpu_fan="${C1}Fans: cpu:${C2} $cpu_fan rpm"
|
||||
sensors_data=${A_SENSORS_DATA[0]}
|
||||
fi
|
||||
sensors_data="$mobo_temp $cpu_temp $cpu_fan"
|
||||
|
|
Loading…
Reference in a new issue