fixed it so that only HT and SMP will show and not others, and fixed date

This commit is contained in:
Trash80.v2.0 2009-01-05 21:52:56 +00:00
parent 55088e4efd
commit 66023a5559

10
inxi
View file

@ -1,8 +1,8 @@
#!/bin/bash
########################################################################
#### Script Name: inxi
#### version: 0.9.1.b2.1
#### Date: January 3, 2009
#### version: 0.9.1.b2.2
#### Date: January 5, 2009
########################################################################
#### SPECIAL THANKS
########################################################################
@ -1462,7 +1462,11 @@ get_cpu_core_count()
## Because of the upcoming release of cpus with core counts over 6, a count of cores is given after Deca (10)
# count the number of processors given
local cpu_core_count=${A_CPU_TYPE_PCNT_CCNT[2]}
local cpu_type=${A_CPU_TYPE_PCNT_CCNT[0]}
local cpu_type=''
if [[ ${A_CPU_TYPE_PCNT_CCNT[0]} == "HT" || ${A_CPU_TYPE_PCNT_CCNT[0]} == "SMP" ]]; then
cpu_type=${A_CPU_TYPE_PCNT_CCNT[0]}
fi
# match the numberic value to an alpha value
case $cpu_core_count in