trying a bug fix for 3ware disk names in disk data section

This commit is contained in:
inxi-svn 2009-07-30 00:16:31 +00:00
parent a9fe030cea
commit 68c7b830d4

12
inxi
View file

@ -1,7 +1,7 @@
#!/bin/bash
########################################################################
#### Script Name: inxi
#### version: 1.1.2-b1
#### version: 1.1.3-b1
#### Date: 29 July 2009
########################################################################
#### SPECIAL THANKS
@ -2568,7 +2568,12 @@ get_hard_drive_data_advanced()
fi
break
else
a_temp_working[2]="Name n/a"
# test to see if we can get a better name output when null
if [[ -n $temp_name ]];then
a_temp_working[2]=$temp_name
else
a_temp_working[2]="Name n/a"
fi
fi
done
else
@ -3011,10 +3016,7 @@ get_partition_data_advanced()
get_sensors_data()
{
eval $LOGFS
sample="
"
# echo "$sample" | gawk -F ': ' -v userCpuNo="$SENSORS_CPU_NO" '
IFS=$'\n'
if [[ $B_SENSORS == 'true' ]];then
# note: non-configured sensors gives error message, which we need to redirect to stdout