mirror of
https://github.com/dylanaraps/pfetch.git
synced 2026-11-08 16:11:28 +00:00
pfetch: Add more model files
This commit is contained in:
1 parent
58f5e9b573
commit
f2217eed91
1 file changed
+2
@@ -121,7 +121,9 @@ get_kernel() {
|
|||||||
get_host() {
|
get_host() {
|
||||||
case $os in
|
case $os in
|
||||||
Linux*|GNU*)
|
Linux*|GNU*)
|
||||||
|
read -r model < /sys/devices/virtual/dmi/id/product_name
|
||||||
read -r model < /sys/devices/virtual/dmi/id/product_version
|
read -r model < /sys/devices/virtual/dmi/id/product_version
|
||||||
|
read -r model < /sys/firmware/devicetree/base/model
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user