Fix GPU fallback on OpenBSD
This commit is contained in:
parent
a0c93da74d
commit
43416ebad5
1 changed files with 1 additions and 1 deletions
2
fetch
2
fetch
|
@ -741,7 +741,7 @@ getgpu () {
|
||||||
gpu=${gpu//'/ $'}
|
gpu=${gpu//'/ $'}
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"BSD")
|
*"BSD")
|
||||||
case "$distro" in
|
case "$distro" in
|
||||||
"FreeBSD")
|
"FreeBSD")
|
||||||
gpu=$(pciconf -lv 2>/dev/null | grep -B 4 "VGA" | grep "device")
|
gpu=$(pciconf -lv 2>/dev/null | grep -B 4 "VGA" | grep "device")
|
||||||
|
|
Reference in a new issue