mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
xbmc: add ati gputemp command
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
@@ -26,4 +26,8 @@ if lspci -n | grep 0300 | grep -q 10de; then
|
||||
[ -f /usr/bin/nvidia-smi ] && TEMP=`/usr/bin/nvidia-smi -q -x | grep 'gpu_temp' | awk '{ print $1 }' | sed 's,<gpu_temp>,,g'`
|
||||
fi
|
||||
|
||||
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, ,,"`
|
||||
fi
|
||||
|
||||
echo "${TEMP} C"
|
||||
|
||||
Reference in New Issue
Block a user