Fix gpu spacing in FreeBSD
This commit is contained in:
parent
10c3ff2d3e
commit
c2612b8d8c
1 changed files with 2 additions and 1 deletions
3
fetch
3
fetch
|
@ -662,7 +662,8 @@ getgpu () {
|
||||||
gpu=$(pciconf -lv 2>/dev/null | grep -B 4 "VGA" | grep "device")
|
gpu=$(pciconf -lv 2>/dev/null | grep -B 4 "VGA" | grep "device")
|
||||||
gpu=${gpu/device*= /}
|
gpu=${gpu/device*= /}
|
||||||
gpu=${gpu//\'/}
|
gpu=${gpu//\'/}
|
||||||
gpu=${gpu// }
|
gpu=${gpu//[[:space:]]/ }
|
||||||
|
gpu=${gpu// /}
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue