From 696ee1b3e7532361830a49acbc56c1044dae446a Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Thu, 30 Oct 2008 21:46:04 +0000 Subject: [PATCH] Added 'genuine' to cpu ban word list --- inxi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/inxi b/inxi index 14df422..966a041 100755 --- a/inxi +++ b/inxi @@ -1,7 +1,7 @@ #!/bin/bash ######################################################################## #### Script Name: inxi -#### version: 0.2.2 +#### version: 0.2.3 #### Date: October 30 2008 ######################################################################## #### inxi is a fork of infobash, the original bash sys info script by locsmif @@ -67,7 +67,7 @@ DEFAULT_SCHEME=2 # Defaults to 2, make this 1 for normal, 0 for no colorcodes at FLAG=0 # A throw-away 'flag' variable intended to be used throughout inxi INDENT=10 # Default indentation level -KONVI=0 # default to false, no konversation found +KONVI=0 # default to false, no konversation found, 1 is /cmd inxi start, 2 is native konvi script mode LSPCI=$( lspci -v | awk '{ gsub(/\(prog-if[^)]*\)/,""); print }' ) # NO_CPU_COUNT=0 # Wether or not the string "dual" or similar is found in cpuinfo output. If so, avoid dups. PARAMETER_LIMIT=30 # This is a variable that controls how many parameters inxi will parse in a /proc//cmdline file before stopping. @@ -129,7 +129,7 @@ DISTROS_BLIST="debian_version ubuntu_version" # user@host $ ARR=($'\x01'"one two" three four); echo ${ARR[0]} | hd -v # 00000000 01 01 6f 6e 65 20 74 77 6f 0a |..one two.| A_NORMAL_BANS=( corporation communications gmbh technologies technology group $'\2'"\" ltd. $'\2'"\" inc. $'\2'\ co. "(tm)" "(r)" $'\2'"\(rev ..\)" ) -A_CPU_BANS=( core cpu deca dual ennea hepta hexa multi octa penta processor quad single triple $'\2'"[0-9.]+ *[MmGg][Hh][Zz]" ) +A_CPU_BANS=( core cpu deca dual ennea genuine hepta hexa multi octa penta processor quad single triple $'\2'"[0-9.]+ *[MmGg][Hh][Zz]" ) ## Source global config overrides if [ -s /etc/$SCRIPT_NAME.conf ];then