Commit 2f46385c authored by Muhammad Herdiansyah's avatar Muhammad Herdiansyah

GPU: Used FreeBSD's method for DragonFlyBSD and PacBSD

parent 60318bc1
......@@ -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//\'}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment