Remove model name from distro output

This commit is contained in:
Dylan 2016-05-08 11:31:14 +10:00
parent 421f1ad52d
commit 7682be5522

View file

@ -502,6 +502,7 @@ getdistro () {
"iPhone OS") "iPhone OS")
distro="iOS $(awk '/OS-Version:/ {printf $4}' /var/logs/AppleSupport/general.log)" distro="iOS $(awk '/OS-Version:/ {printf $4}' /var/logs/AppleSupport/general.log)"
distro=$(printf "%s" "$distro" | awk '{printf $1 $2}')
;; ;;
"OpenBSD") "OpenBSD")