From 6b592e328776a2eb2fa1f994376e1edf283294f1 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Wed, 12 Jan 2011 00:18:03 +0000 Subject: [PATCH] removed 10 cpu core print limit, I don't see any reason for that, and it might confuse users if they have more. --- inxi | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/inxi b/inxi index a818d85..ad16370 100755 --- a/inxi +++ b/inxi @@ -1,8 +1,8 @@ #!/bin/bash ######################################################################## #### Script Name: inxi -#### version: 1.4.22 -#### Date: December 10 2010 +#### version: 1.4.23 +#### Date: January 11 2011 ######################################################################## #### SPECIAL THANKS ######################################################################## @@ -19,7 +19,7 @@ #### Gaim/Pidgin, Weechat, KVIrc and Kopete. #### Original infobash author and copyright holder: #### Copyright (C) 2005-2007 Michiel de Boer a.k.a. locsmif -#### inxi version: Copyright (C) 2008-10 Scott Rogers & Harald Hope +#### inxi version: Copyright (C) 2008-11 Scott Rogers & Harald Hope #### Further fixes (listed as known): Horst Tritremmel #### Steven Barrett (aka: damentz) - usb audio patch; swap percent used patch #### @@ -4491,9 +4491,11 @@ print_cpu_data() IFS="$ORIGINAL_IFS" # note: the first iteration will create a first space, for color code separation below cpu_multi_clock_data="$cpu_multi_clock_data ${C1}($(( i + 1 )))${C2} ${a_cpu_working[1]} MHz${CN}" - if [[ $i -gt 10 ]];then - break - fi + # someone actually appeared with a 16 core system, so going to stop the cpu core throttle + # if this had some other purpose which we can't remember we'll add it back in + #if [[ $i -gt 10 ]];then + # break + #fi done if [[ -n $cpu_multi_clock_data ]];then cpu_multi_clock_data=$( create_print_line " " "${C1}Clock Speeds:${C2}$cpu_multi_clock_data" )