CPU [Linux]: Strip 'FPU' from CPU output

Since we're strictly looking for CPU name here, any output with
"FPU"* will be unnecessary. This mainly affects MIPS
This commit is contained in:
Muhammad Herdiansyah 2016-12-24 21:18:36 +07:00
parent defa2f4d11
commit c0506dbc2c

View file

@ -921,6 +921,7 @@ get_cpu() {
cpu="${cpu//Core}"
cpu="${cpu//with Radeon * Graphics}"
cpu="${cpu//, altivec supported}"
cpu="${cpu//FPU*}"
# Add CPU cores to the output.
[[ "$cpu_cores" != "off" && "$cores" ]] && \