gpu: Change Xeon output to HD Graphics

This commit is contained in:
Dylan Araps 2018-06-20 21:48:16 +10:00
parent ef94cc6764
commit 50804a6877

View file

@ -2083,6 +2083,7 @@ get_gpu() {
gpu="${gpu/'Corporation'}" gpu="${gpu/'Corporation'}"
gpu="${gpu/ \(*}" gpu="${gpu/ \(*}"
gpu="${gpu/Integrated Graphics Controller}" gpu="${gpu/Integrated Graphics Controller}"
gpu="${gpu/*Xeon*/Intel HD Graphics}"
[[ -z "$(trim "$gpu")" ]] && gpu="Intel Integrated Graphics" [[ -z "$(trim "$gpu")" ]] && gpu="Intel Integrated Graphics"
;; ;;