mirror of
https://github.com/smxi/inxi.git
synced 2025-09-02 02:29:11 +00:00
for ps3, dumped cpu .000000 mhz and made it .000
This commit is contained in:
parent
a3ceadd2e7
commit
c4fb305550
1 changed files with 1 additions and 0 deletions
1
inxi
1
inxi
|
@ -789,6 +789,7 @@ get_cpu_data()
|
||||||
|
|
||||||
if ($NF > max) { max = $NF }
|
if ($NF > max) { max = $NF }
|
||||||
gsub(/MHZ/,"",$NF) ## clears out for cell cpu
|
gsub(/MHZ/,"",$NF) ## clears out for cell cpu
|
||||||
|
gsub(/.000000/,".00",$NF) ## clears out for cell cpu
|
||||||
cpu[nr, "speed"] = $NF
|
cpu[nr, "speed"] = $NF
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue