mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
bug fix to ati detection gpu temp
This commit is contained in:
parent
c7cda10cf0
commit
a890e72a7f
2
inxi
2
inxi
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue