mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
xbmc: add fglrx-legacy support to gputemp script
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
28db923d0c
commit
2dff1483d6
@ -27,11 +27,13 @@ if lspci -n | grep 0300 | grep -q 10de; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if lspci -n | grep 0300 | grep -q 1002; then
|
if lspci -n | grep 0300 | grep -q 1002; then
|
||||||
if [ -f /storage/.config/xorg.conf ]; then
|
if [ -f /storage/.config/xorg.conf ]; then
|
||||||
XORG="/storage/.config/xorg.conf"
|
XORG="/storage/.config/xorg.conf"
|
||||||
else
|
elif [ -f /etc/X11/xorg-fglrx-legacy.conf ]; then
|
||||||
XORG="/etc/X11/xorg-fglrx.conf"
|
XORG="/etc/X11/xorg-fglrx-legacy.conf"
|
||||||
fi
|
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, ,,"`
|
[ -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
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user