Merge pull request #313 from konimex/model2
Added Solaris support for model
This commit is contained in:
commit
a21d71e3ce
1 changed files with 4 additions and 0 deletions
4
neofetch
4
neofetch
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue