bug fix to ati detection gpu temp

This commit is contained in:
inxi-svn 2009-08-03 08:14:43 +00:00
parent c7cda10cf0
commit a890e72a7f

2
inxi
View file

@ -2205,7 +2205,7 @@ get_gpu_temp_data()
) )
elif [[ -n $( type -p aticonfig ) ]];then elif [[ -n $( type -p aticonfig ) ]];then
# gpu_temp=$( aticonfig --adapter=0 --od-gettemperature | gawk -F ': ' ' # gpu_temp=$( aticonfig --adapter=0 --od-gettemperature | gawk -F ': ' '
gpu_temp=$(echo "$sample" | gawk -F ': ' ' gpu_temp=$( aticonfig --adapter=all --od-gettemperature | gawk -F ': ' '
BEGIN { BEGIN {
IGNORECASE=1 IGNORECASE=1
} }