GPU: Now works on FreeBSD

This commit is contained in:
Dylan 2016-01-19 12:02:04 +11:00
parent 460f798d13
commit 96c62b0774

3
fetch
View file

@ -632,7 +632,7 @@ getcpu () {
}
getgpu () {
case "os" in
case "$os" in
"Linux")
;;
@ -647,6 +647,7 @@ getgpu () {
gpu=$(pciconf -lv 2>/dev/null | grep -B 4 "VGA" | grep "device")
gpu=${gpu/device*= /}
gpu=${gpu//\'/}
gpu=${gpu// }
;;
esac
;;