mirror of
https://github.com/dylanaraps/pfetch.git
synced 2026-01-02 16:02:12 +01:00
docs: update
This commit is contained in:
8
pfetch
8
pfetch
@@ -121,13 +121,13 @@ 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 host < /sys/devices/virtual/dmi/id/product_name
|
||||||
read -r model < /sys/devices/virtual/dmi/id/product_version
|
read -r host < /sys/devices/virtual/dmi/id/product_version
|
||||||
read -r model < /sys/firmware/devicetree/base/model
|
read -r host < /sys/firmware/devicetree/base/model
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
log host "$model"
|
log host "$host"
|
||||||
}
|
}
|
||||||
|
|
||||||
get_uptime() {
|
get_uptime() {
|
||||||
|
|||||||
Reference in New Issue
Block a user