This commit is contained in:
Dylan Araps 2016-10-31 14:57:22 +11:00
commit dcf51866ec

View file

@ -983,7 +983,7 @@ getgpu() {
"BSD" | "Solaris")
case "$distro" in
"FreeBSD"*)
"FreeBSD"* | "DragonFlyBSD"* | "PacBSD"*)
gpu="$(pciconf -lv 2>/dev/null | grep -B 4 "VGA" | grep "device")"
gpu="${gpu/*device*= }"
gpu="${gpu//\'}"