One CPU is all we need.

This commit is contained in:
Pedro Algarvio 2013-04-12 15:49:32 +01:00
parent ee829cb60b
commit c7d7359d0c

View file

@ -347,7 +347,7 @@ exec 2>$LOGPIPE
#-------------------------------------------------------------------------------
__gather_hardware_info() {
if [ -f /proc/cpuinfo ]; then
CPU_VENDOR_ID=$(awk '/vendor_id|Processor/ {sub(/-.*$/,"",$3); print $3}' /proc/cpuinfo )
CPU_VENDOR_ID=$(awk '/vendor_id|Processor/ {sub(/-.*$/,"",$3); print $3; exit}' /proc/cpuinfo )
elif [ -f /usr/bin/kstat ]; then
# SmartOS.
# Solaris!?