Fix GPU fallback on OpenBSD

This commit is contained in:
Dylan 2016-01-26 10:54:07 +11:00
parent a0c93da74d
commit 43416ebad5
1 changed files with 1 additions and 1 deletions

2
fetch
View File

@ -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")