Added Solaris support for model
This commit is contained in:
parent
3461b2a029
commit
346bff1c52
1 changed files with 4 additions and 0 deletions
4
neofetch
4
neofetch
|
@ -89,6 +89,10 @@ getmodel() {
|
|||
model="${model/Manufacturer'='}"
|
||||
model="${model/Model'='}"
|
||||
;;
|
||||
|
||||
"Solaris")
|
||||
model="$(prtconf -b | awk -F':' '/banner-name/ {printf $2}')"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue