Fix gpu spacing in FreeBSD

This commit is contained in:
Dylan 2016-01-19 13:57:29 +11:00
parent 10c3ff2d3e
commit c2612b8d8c

3
fetch
View file

@ -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
;; ;;