mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
trying a bug fix for 3ware disk names in disk data section
This commit is contained in:
parent
a9fe030cea
commit
68c7b830d4
10
inxi
10
inxi
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
########################################################################
|
########################################################################
|
||||||
#### Script Name: inxi
|
#### Script Name: inxi
|
||||||
#### version: 1.1.2-b1
|
#### version: 1.1.3-b1
|
||||||
#### Date: 29 July 2009
|
#### Date: 29 July 2009
|
||||||
########################################################################
|
########################################################################
|
||||||
#### SPECIAL THANKS
|
#### SPECIAL THANKS
|
||||||
|
@ -2567,9 +2567,14 @@ get_hard_drive_data_advanced()
|
||||||
a_temp_working[3]='USB'
|
a_temp_working[3]='USB'
|
||||||
fi
|
fi
|
||||||
break
|
break
|
||||||
|
else
|
||||||
|
# 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
|
else
|
||||||
a_temp_working[2]="Name n/a"
|
a_temp_working[2]="Name n/a"
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
a_temp_working[2]="Name n/a"
|
a_temp_working[2]="Name n/a"
|
||||||
|
@ -3011,10 +3016,7 @@ get_partition_data_advanced()
|
||||||
get_sensors_data()
|
get_sensors_data()
|
||||||
{
|
{
|
||||||
eval $LOGFS
|
eval $LOGFS
|
||||||
sample="
|
|
||||||
|
|
||||||
"
|
|
||||||
# echo "$sample" | gawk -F ': ' -v userCpuNo="$SENSORS_CPU_NO" '
|
|
||||||
IFS=$'\n'
|
IFS=$'\n'
|
||||||
if [[ $B_SENSORS == 'true' ]];then
|
if [[ $B_SENSORS == 'true' ]];then
|
||||||
# note: non-configured sensors gives error message, which we need to redirect to stdout
|
# note: non-configured sensors gives error message, which we need to redirect to stdout
|
||||||
|
|
Loading…
Reference in a new issue