mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 16:21:39 +00:00
trying to update flags line and some cleanup
This commit is contained in:
parent
1c03a2daf8
commit
fd48d72de2
8
inxi
8
inxi
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
########################################################################
|
||||
#### Script Name: inxi
|
||||
#### version: 1.0.82-b1
|
||||
#### version: 1.0.83-b1
|
||||
#### Date: 26 July 2009
|
||||
########################################################################
|
||||
#### SPECIAL THANKS
|
||||
|
@ -3120,9 +3120,11 @@ process_cpu_flags()
|
|||
ssel["sse"] = 1
|
||||
ssel["sse2"] = 2
|
||||
ssel["pni"] = 3
|
||||
ssel["sse4"] = 4
|
||||
sses[1] = "sse"
|
||||
sses[2] = "sse2"
|
||||
sses[3] = "sse3"
|
||||
sses[4] = "sse4"
|
||||
}
|
||||
/^(nx|lm|svm|vmx)$/ {
|
||||
if (s) {
|
||||
|
@ -3132,7 +3134,7 @@ process_cpu_flags()
|
|||
s = $0
|
||||
}
|
||||
}
|
||||
/^(sse2?|pni)$/ {
|
||||
/^(sse|sse2|sse4|pni)$/ {
|
||||
if (ssel[$0] > sse) {
|
||||
sse = ssel[$0]
|
||||
}
|
||||
|
@ -3929,7 +3931,7 @@ print_sensors_data()
|
|||
cpu_temp="${C1}Cpu Temp:${C2} $cpu_temp"
|
||||
|
||||
if [[ -n ${A_SENSORS_DATA[2]} ]];then
|
||||
cpu_fan="${A_SENSORS_DATA[2]} rpm"
|
||||
cpu_fan="${A_SENSORS_DATA[2]}rpm"
|
||||
else
|
||||
cpu_fan='N/A'
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue