mirror of
https://github.com/smxi/inxi.git
synced 2025-01-19 08:57:57 +00:00
added gmbh to ban list
This commit is contained in:
parent
d2f36ba0e0
commit
0252ad7ade
6
inxi
6
inxi
|
@ -129,7 +129,7 @@ DISTROS_BLIST="debian_version ubuntu_version"
|
||||||
# $'\1' gets weird results :
|
# $'\1' gets weird results :
|
||||||
# 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 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=( cpu processor $'\2'"[0-9.]+ *[MmGg][Hh][Zz]" )
|
A_CPU_BANS=( cpu processor $'\2'"[0-9.]+ *[MmGg][Hh][Zz]" )
|
||||||
|
|
||||||
## Source global config overrides
|
## Source global config overrides
|
||||||
|
@ -1200,12 +1200,12 @@ print_gfx_data()
|
||||||
i=1
|
i=1
|
||||||
while [[ -n ${A_GFX_DATA[i]} && $i -le 3 ]]
|
while [[ -n ${A_GFX_DATA[i]} && $i -le 3 ]]
|
||||||
do
|
do
|
||||||
gfx_data=" ${C1}Card-$(($i+1))${C2} ${A_GFX_DATA[i]} "
|
gfx_data=" ${C1}Card-$(($i+1))${C2} ${A_GFX_DATA[i]}"
|
||||||
((i++))
|
((i++))
|
||||||
done
|
done
|
||||||
card_one='Card-1 '
|
card_one='Card-1 '
|
||||||
fi
|
fi
|
||||||
gfx_data=$( create_print_line "Graphics:" "${C1}$card_one${C2}${A_GFX_DATA[0]}${gfx_data} " )
|
gfx_data=$( create_print_line "Graphics:" "${C1}$card_one${C2}${A_GFX_DATA[0]}${gfx_data}" )
|
||||||
|
|
||||||
if [ "$X" -gt 0 ]
|
if [ "$X" -gt 0 ]
|
||||||
then
|
then
|
||||||
|
|
Loading…
Reference in a new issue