mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-02-24 05:20:02 +08:00
feat: Improve CPU detection (#840)
This commit is contained in:
parent
92b4cf5997
commit
5d75a9b039
@ -63,6 +63,8 @@ if [ -z "${CPU// /}" ] && grep -qi "model:" <<< "$CPI"; then
|
||||
fi
|
||||
|
||||
CPU="${CPU// CPU/}"
|
||||
CPU="${CPU// 16 Core/}"
|
||||
CPU="${CPU// Processor/}"
|
||||
CPU="${CPU// Quad core/}"
|
||||
CPU="${CPU// with Radeon Graphics/}"
|
||||
[ -z "${CPU// /}" ] && CPU="Unknown"
|
||||
|
Loading…
x
Reference in New Issue
Block a user