docs: update
This commit is contained in:
parent
f2217eed91
commit
4e3cef3125
8
pfetch
8
pfetch
|
@ -121,13 +121,13 @@ get_kernel() {
|
|||
get_host() {
|
||||
case $os in
|
||||
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/firmware/devicetree/base/model
|
||||
read -r host < /sys/devices/virtual/dmi/id/product_name
|
||||
read -r host < /sys/devices/virtual/dmi/id/product_version
|
||||
read -r host < /sys/firmware/devicetree/base/model
|
||||
;;
|
||||
esac
|
||||
|
||||
log host "$model"
|
||||
log host "$host"
|
||||
}
|
||||
|
||||
get_uptime() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user