Fix blank model output on Windows

This commit is contained in:
Dylan Araps 2016-10-02 12:01:22 +11:00
parent e590ddc10f
commit 6ede242b1c

View file

@ -101,7 +101,7 @@ getmodel() {
model="$(wmic computersystem get manufacturer,model /value)" model="$(wmic computersystem get manufacturer,model /value)"
model="${model/Manufacturer'='}" model="${model/Manufacturer'='}"
model="${model/Model'='}" model="${model/Model'='}"
model="${model//To Be Filled*}" model="${model//*To Be Filled*}"
;; ;;
"Solaris") "Solaris")