mirror of
https://github.com/smxi/inxi.git
synced 2025-01-19 08:57:57 +00:00
forgot to remove debugger on switch
This commit is contained in:
parent
718d6f9dea
commit
04b84edb24
6
inxi
6
inxi
|
@ -3,7 +3,7 @@
|
||||||
#### Script Name: inxi
|
#### Script Name: inxi
|
||||||
#### Version: 2.1.96
|
#### Version: 2.1.96
|
||||||
#### Date: 2014-08-15
|
#### Date: 2014-08-15
|
||||||
#### Patch Number: 01
|
#### Patch Number: 02
|
||||||
########################################################################
|
########################################################################
|
||||||
#### SPECIAL THANKS
|
#### SPECIAL THANKS
|
||||||
########################################################################
|
########################################################################
|
||||||
|
@ -4888,7 +4888,7 @@ get_dmidecode_data()
|
||||||
{
|
{
|
||||||
eval $LOGFS
|
eval $LOGFS
|
||||||
|
|
||||||
local dmiData="" b_debugger='true'
|
local dmiData="" b_debugger='false'
|
||||||
|
|
||||||
if [[ $B_DMIDECODE_SET != 'true' ]];then
|
if [[ $B_DMIDECODE_SET != 'true' ]];then
|
||||||
dmidecodePath=$( type -p dmidecode 2>/dev/null )
|
dmidecodePath=$( type -p dmidecode 2>/dev/null )
|
||||||
|
@ -4901,7 +4901,7 @@ get_dmidecode_data()
|
||||||
# strip out all the stuff we don't want to see in the results. We want the error data in
|
# strip out all the stuff we don't want to see in the results. We want the error data in
|
||||||
# stdout for error handling
|
# stdout for error handling
|
||||||
if [[ $b_debugger == 'true' ]];then
|
if [[ $b_debugger == 'true' ]];then
|
||||||
dmiData="$( cat ~/bin/scripts/inxi/data/dmidecode/dmidecode-memory-variants-1.txt )"
|
dmiData="$( cat ~/bin/scripts/inxi/data/dmidecode/dmidecode-memory-variants-2.txt )"
|
||||||
else
|
else
|
||||||
dmiData="$( $dmidecodePath 2>&1 )"
|
dmiData="$( $dmidecodePath 2>&1 )"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -1,3 +1,14 @@
|
||||||
|
=====================================================================================
|
||||||
|
Version: 2.1.96
|
||||||
|
Patch Version: 02
|
||||||
|
Script Date: 2014-08-15
|
||||||
|
-----------------------------------
|
||||||
|
Changes:
|
||||||
|
-----------------------------------
|
||||||
|
forgot to remove debugger on switch
|
||||||
|
-----------------------------------
|
||||||
|
-- Harald Hope - Fri, 15 Aug 2014 16:55:04 -0700
|
||||||
|
|
||||||
=====================================================================================
|
=====================================================================================
|
||||||
Version: 2.1.96
|
Version: 2.1.96
|
||||||
Patch Version: 01
|
Patch Version: 01
|
||||||
|
|
Loading…
Reference in a new issue