Merge pull request #313 from konimex/model2

Added Solaris support for model
This commit is contained in:
Dylan Araps 2016-08-14 21:47:23 +10:00 committed by GitHub
commit a21d71e3ce

View file

@ -89,6 +89,10 @@ getmodel() {
model="${model/Manufacturer'='}" model="${model/Manufacturer'='}"
model="${model/Model'='}" model="${model/Model'='}"
;; ;;
"Solaris")
model="$(prtconf -b | awk -F':' '/banner-name/ {printf $2}')"
;;
esac esac
} }