Added Solaris support for model

This commit is contained in:
Muhammad Herdiansyah 2016-08-14 17:41:09 +07:00
parent 3461b2a029
commit 346bff1c52
1 changed files with 4 additions and 0 deletions

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
} }