Format CPU output on BSD

This commit is contained in:
Dylan Araps 2016-05-12 20:31:36 +10:00
parent e67d6609d1
commit db2824a8e1

View file

@ -1103,6 +1103,8 @@ getcpu () {
# Get cpu cores # Get cpu cores
cores=$(sysctl -n hw.ncpu) cores=$(sysctl -n hw.ncpu)
cpu="$cpu @ ${speed}GHz"
;; ;;
esac esac