Fix gpu spacing in FreeBSD
This commit is contained in:
parent
10c3ff2d3e
commit
c2612b8d8c
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
|
||||||
;;
|
;;
|
||||||
|
|
Reference in New Issue