mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
cleanup
This commit is contained in:
parent
2c44edebd5
commit
836098c05e
8
inxi
8
inxi
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
########################################################################
|
########################################################################
|
||||||
#### Script Name: inxi
|
#### Script Name: inxi
|
||||||
#### version: 0.9.8-b1-t4
|
#### version: 0.9.8-b1-t5
|
||||||
#### Date: 3 February 2009
|
#### Date: 3 February 2009
|
||||||
########################################################################
|
########################################################################
|
||||||
#### SPECIAL THANKS
|
#### SPECIAL THANKS
|
||||||
|
@ -1400,12 +1400,6 @@ get_cpu_core_count()
|
||||||
local cpu_core_count=${A_CPU_TYPE_PCNT_CCNT[2]}
|
local cpu_core_count=${A_CPU_TYPE_PCNT_CCNT[2]}
|
||||||
local cpu_type=${A_CPU_TYPE_PCNT_CCNT[0]}
|
local cpu_type=${A_CPU_TYPE_PCNT_CCNT[0]}
|
||||||
|
|
||||||
case ${A_CPU_TYPE_PCNT_CCNT[0]} in
|
|
||||||
HT|SMP-HT|SMP)
|
|
||||||
cpu_type="${A_CPU_TYPE_PCNT_CCNT[0]}"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
# match the numberic value to an alpha value
|
# match the numberic value to an alpha value
|
||||||
case $cpu_core_count in
|
case $cpu_core_count in
|
||||||
1) cpu_alpha_count='Single';;
|
1) cpu_alpha_count='Single';;
|
||||||
|
|
Loading…
Reference in a new issue