mirror of
https://github.com/smxi/inxi.git
synced 2025-01-31 18:12:21 +00:00
for ps3, dumped cpu .000000 mhz and made it .000
This commit is contained in:
parent
a3ceadd2e7
commit
c4fb305550
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…
Reference in a new issue