mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +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
|
else
|
||||||
mobo_temp='N/A'
|
mobo_temp='N/A'
|
||||||
fi
|
fi
|
||||||
mobo_temp="${C1}mobo temp:${C2} $mobo_temp"
|
mobo_temp="${C1}Temps: mobo:${C2} $mobo_temp"
|
||||||
|
|
||||||
if [[ -n ${A_SENSORS_DATA[1]} ]];then
|
if [[ -n ${A_SENSORS_DATA[1]} ]];then
|
||||||
cpu_temp=${A_SENSORS_DATA[1]}
|
cpu_temp=${A_SENSORS_DATA[1]}
|
||||||
else
|
else
|
||||||
cpu_temp='N/A'
|
cpu_temp='N/A'
|
||||||
fi
|
fi
|
||||||
cpu_temp="${C1}cpu temp:${C2} $cpu_temp"
|
cpu_temp="${C1}cpu:${C2} $cpu_temp"
|
||||||
|
|
||||||
if [[ -n ${A_SENSORS_DATA[2]} ]];then
|
if [[ -n ${A_SENSORS_DATA[2]} ]];then
|
||||||
cpu_fan=${A_SENSORS_DATA[2]}
|
cpu_fan=${A_SENSORS_DATA[2]}
|
||||||
else
|
else
|
||||||
cpu_fan='N/A'
|
cpu_fan='N/A'
|
||||||
fi
|
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]}
|
sensors_data=${A_SENSORS_DATA[0]}
|
||||||
fi
|
fi
|
||||||
sensors_data="$mobo_temp $cpu_temp $cpu_fan"
|
sensors_data="$mobo_temp $cpu_temp $cpu_fan"
|
||||||
|
|
Loading…
Reference in a new issue