mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
Merge branch 'master' of git://github.com/hensing/OpenELEC.tv
This commit is contained in:
commit
e680be41f0
@ -27,7 +27,12 @@ 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
|
||||||
[ -f /usr/bin/aticonfig ] && TEMP=`/usr/bin/aticonfig --od-gettemperature | grep Temperature | cut -f 2 -d "-" | cut -f 1 -d "." | sed -e "s, ,,"`
|
if [ -f /storage/.config/xorg.conf ]; then
|
||||||
|
XORG="/storage/.config/xorg.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
|
fi
|
||||||
|
|
||||||
echo "${TEMP} C"
|
echo "${TEMP} C"
|
||||||
|
@ -1,7 +1,11 @@
|
|||||||
|
Section "ServerLayout"
|
||||||
|
Identifier "aticonfig Layout"
|
||||||
|
Screen 0 "screen" 0 0
|
||||||
|
EndSection
|
||||||
|
|
||||||
Section "Device"
|
Section "Device"
|
||||||
Identifier "fglrx"
|
Identifier "fglrx"
|
||||||
Driver "fglrx"
|
Driver "fglrx"
|
||||||
|
|
||||||
Option "HWCursor" "false"
|
Option "HWCursor" "false"
|
||||||
EndSection
|
EndSection
|
||||||
|
|
||||||
@ -14,7 +18,7 @@ Section "Screen"
|
|||||||
Device "fglrx"
|
Device "fglrx"
|
||||||
DefaultDepth 24
|
DefaultDepth 24
|
||||||
SubSection "Display"
|
SubSection "Display"
|
||||||
Depth 24
|
Depth 24
|
||||||
EndSubSection
|
EndSubSection
|
||||||
EndSection
|
EndSection
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user