mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 16:21:39 +00:00
tweaks
This commit is contained in:
parent
947a8b8fc4
commit
c1a4fe88b4
8
inxi
8
inxi
|
@ -96,7 +96,7 @@ FL2=''
|
||||||
# 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.|
|
||||||
NORMAL_BANS=( corporation communications technologies technology group $'\2'"\<ltd\>" ltd. $'\2'"\<inc\>" inc. $'\2'\<co\> co. "(tm)" "(r)" $'\2'"\(rev ..\)" )
|
NORMAL_BANS=( corporation communications technologies technology group $'\2'"\<ltd\>" ltd. $'\2'"\<inc\>" inc. $'\2'\<co\> co. "(tm)" "(r)" $'\2'"\(rev ..\)" )
|
||||||
CPU_BANS=( cpu processor $'\2'"[0-9.]+ *[MmGg][Hh][Zz]" )
|
CPU_BANS=( cpu processor $'\2'"[0-9.]+ *[MmGg][Hh][Zz]" )
|
||||||
X_PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" # Extra path variable to make execute failures less likely, merged below
|
EXTRA_PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" # Extra path variable to make execute failures less likely, merged below
|
||||||
PARAMETER_LIMIT=30 # This is a variable that controls how many parameters infobash will parse in a /proc/<pid>/cmdline file before stopping.
|
PARAMETER_LIMIT=30 # This is a variable that controls how many parameters infobash will parse in a /proc/<pid>/cmdline file before stopping.
|
||||||
CRAP=0 # New parameter
|
CRAP=0 # New parameter
|
||||||
FLAG=0 # A throw-away 'flag' variable intended to be used throughout infobash
|
FLAG=0 # A throw-away 'flag' variable intended to be used throughout infobash
|
||||||
|
@ -504,11 +504,11 @@ then
|
||||||
X=1
|
X=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Fallback paths put into $X_PATH; This might, among others, help on gentoo.
|
# Fallback paths put into $EXTRA_PATH; This might, among others, help on gentoo.
|
||||||
# Now, create a difference of $PATH and $X_PATH and add that to $PATH:
|
# Now, create a difference of $PATH and $EXTRA_PATH and add that to $PATH:
|
||||||
unset TPATH
|
unset TPATH
|
||||||
IFS=":"
|
IFS=":"
|
||||||
for I in $X_PATH
|
for I in $EXTRA_PATH
|
||||||
do
|
do
|
||||||
FLAG=0
|
FLAG=0
|
||||||
for J in $PATH
|
for J in $PATH
|
||||||
|
|
Loading…
Reference in a new issue