aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2019-09-24 13:38:46 +0300
committerDylan Araps <dylan.araps@gmail.com>2019-09-24 13:38:46 +0300
commit4e3cef31252c46309727d355283dec1ffda35bf5 (patch)
treebe0a4621708f41ba886995b51aceaf4eb27cf782
parentf2217eed91ad8709c166d3682b103242ca7670c2 (diff)
downloadpfetch-4e3cef31252c46309727d355283dec1ffda35bf5.tar.gz
docs: update
-rwxr-xr-xpfetch8
1 files changed, 4 insertions, 4 deletions
diff --git a/pfetch b/pfetch
index c4a4097..9faf3b2 100755
--- a/pfetch
+++ b/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() {