From fd48d72de21af4fd855dc8ede629e1678b804d4f Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Mon, 27 Jul 2009 05:21:15 +0000 Subject: [PATCH] trying to update flags line and some cleanup --- inxi | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/inxi b/inxi index 0d71856..2ce81f6 100755 --- a/inxi +++ b/inxi @@ -1,7 +1,7 @@ #!/bin/bash ######################################################################## #### Script Name: inxi -#### version: 1.0.82-b1 +#### version: 1.0.83-b1 #### Date: 26 July 2009 ######################################################################## #### SPECIAL THANKS @@ -3120,9 +3120,11 @@ process_cpu_flags() ssel["sse"] = 1 ssel["sse2"] = 2 ssel["pni"] = 3 + ssel["sse4"] = 4 sses[1] = "sse" sses[2] = "sse2" sses[3] = "sse3" + sses[4] = "sse4" } /^(nx|lm|svm|vmx)$/ { if (s) { @@ -3132,7 +3134,7 @@ process_cpu_flags() s = $0 } } - /^(sse2?|pni)$/ { + /^(sse|sse2|sse4|pni)$/ { if (ssel[$0] > sse) { sse = ssel[$0] } @@ -3929,7 +3931,7 @@ print_sensors_data() cpu_temp="${C1}Cpu Temp:${C2} $cpu_temp" if [[ -n ${A_SENSORS_DATA[2]} ]];then - cpu_fan="${A_SENSORS_DATA[2]} rpm" + cpu_fan="${A_SENSORS_DATA[2]}rpm" else cpu_fan='N/A' fi