diff --git a/packages/mediacenter/xbmc/scripts/gputemp b/packages/mediacenter/xbmc/scripts/gputemp index d5152aa4f6..6b312d00b4 100755 --- a/packages/mediacenter/xbmc/scripts/gputemp +++ b/packages/mediacenter/xbmc/scripts/gputemp @@ -27,11 +27,13 @@ if lspci -n | grep 0300 | grep -q 10de; then fi if lspci -n | grep 0300 | grep -q 1002; then - if [ -f /storage/.config/xorg.conf ]; then - XORG="/storage/.config/xorg.conf" - else - XORG="/etc/X11/xorg-fglrx.conf" - fi + if [ -f /storage/.config/xorg.conf ]; then + XORG="/storage/.config/xorg.conf" + elif [ -f /etc/X11/xorg-fglrx-legacy.conf ]; then + XORG="/etc/X11/xorg-fglrx-legacy.conf" + else + XORG="/etc/X11/xorg-fglrx.conf" + fi [ -f /usr/bin/aticonfig ] && TEMP=`/usr/bin/aticonfig -i $XORG --od-gettemperature | grep Temperature | cut -f 2 -d "-" | cut -f 1 -d "." | sed -e "s, ,,"` fi