Small change, forgot to add -m to the debugger inxi output.

This commit is contained in:
inxi-svn 2014-08-15 23:44:32 +00:00
parent bd12b27526
commit 718d6f9dea
2 changed files with 17 additions and 5 deletions

10
inxi
View file

@ -2,8 +2,8 @@
######################################################################## ########################################################################
#### Script Name: inxi #### Script Name: inxi
#### Version: 2.1.96 #### Version: 2.1.96
#### Date: 2014-08-14 #### Date: 2014-08-15
#### Patch Number: 00 #### Patch Number: 01
######################################################################## ########################################################################
#### SPECIAL THANKS #### SPECIAL THANKS
######################################################################## ########################################################################
@ -1832,7 +1832,7 @@ debug_data_collector()
echo 'Creating inxi output file now. This can take a few seconds...' echo 'Creating inxi output file now. This can take a few seconds...'
echo "Starting $SCRIPT_NAME from: $start_directory" echo "Starting $SCRIPT_NAME from: $start_directory"
cd $start_directory cd $start_directory
$SCRIPT_PATH/$SCRIPT_NAME -FRfrploudixxx -c 0 -@ 8 -y 120 > $SCRIPT_DATA_DIR/$debug_data_dir/inxi-FRfrploudixxxy120.txt $SCRIPT_PATH/$SCRIPT_NAME -FRfrploudmxxx -c 0 -@ 8 -y 120 > $SCRIPT_DATA_DIR/$debug_data_dir/inxi-FRfrploudmxxxy120.txt
cp $LOG_FILE $SCRIPT_DATA_DIR/$debug_data_dir cp $LOG_FILE $SCRIPT_DATA_DIR/$debug_data_dir
if [[ -f $SCRIPT_DATA_DIR/$debug_data_dir.tar.gz ]];then if [[ -f $SCRIPT_DATA_DIR/$debug_data_dir.tar.gz ]];then
echo "Found and removing previous tar.gz data file: $debug_data_dir.tar.gz" echo "Found and removing previous tar.gz data file: $debug_data_dir.tar.gz"
@ -4888,7 +4888,7 @@ get_dmidecode_data()
{ {
eval $LOGFS eval $LOGFS
local dmiData="" b_debugger='false' local dmiData="" b_debugger='true'
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-2.txt )" dmiData="$( cat ~/bin/scripts/inxi/data/dmidecode/dmidecode-memory-variants-1.txt )"
else else
dmiData="$( $dmidecodePath 2>&1 )" dmiData="$( $dmidecodePath 2>&1 )"
fi fi

View file

@ -1,3 +1,15 @@
=====================================================================================
Version: 2.1.96
Patch Version: 01
Script Date: 2014-08-15
-----------------------------------
Changes:
-----------------------------------
Small change, forgot to add -m to the debugger inxi output.
-----------------------------------
-- Harald Hope - Fri, 15 Aug 2014 16:43:47 -0700
===================================================================================== =====================================================================================
Version: 2.1.96 Version: 2.1.96
Patch Version: 00 Patch Version: 00