mirror of
https://github.com/smxi/inxi.git
synced 2025-02-23 13:32:18 +00:00
Added 'genuine' to cpu ban word list
This commit is contained in:
parent
13a9fba961
commit
696ee1b3e7
6
inxi
6
inxi
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
########################################################################
|
########################################################################
|
||||||
#### Script Name: inxi
|
#### Script Name: inxi
|
||||||
#### version: 0.2.2
|
#### version: 0.2.3
|
||||||
#### Date: October 30 2008
|
#### Date: October 30 2008
|
||||||
########################################################################
|
########################################################################
|
||||||
#### inxi is a fork of infobash, the original bash sys info script by locsmif
|
#### 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
|
FLAG=0 # A throw-away 'flag' variable intended to be used throughout inxi
|
||||||
|
|
||||||
INDENT=10 # Default indentation level
|
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 }' )
|
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.
|
# 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/<pid>/cmdline file before stopping.
|
PARAMETER_LIMIT=30 # This is a variable that controls how many parameters inxi will parse in a /proc/<pid>/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
|
# 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.|
|
# 00000000 01 01 6f 6e 65 20 74 77 6f 0a |..one two.|
|
||||||
A_NORMAL_BANS=( corporation communications gmbh technologies technology group $'\2'"\<ltd\>" ltd. $'\2'"\<inc\>" inc. $'\2'\<co\> co. "(tm)" "(r)" $'\2'"\(rev ..\)" )
|
A_NORMAL_BANS=( corporation communications gmbh technologies technology group $'\2'"\<ltd\>" ltd. $'\2'"\<inc\>" inc. $'\2'\<co\> 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
|
## Source global config overrides
|
||||||
if [ -s /etc/$SCRIPT_NAME.conf ];then
|
if [ -s /etc/$SCRIPT_NAME.conf ];then
|
||||||
|
|
Loading…
Reference in a new issue