aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlcapriotti <lcapriotti@svn>2010-09-01 13:04:36 +0000
committerlcapriotti <lcapriotti@svn>2010-09-01 13:04:36 +0000
commit5712a189d5c84ef35711a8906e22db30da93a9b4 (patch)
treef926174043ba7d0e19c024c0b781065602585bfe
parentc5eeea36a5528675ba5c9a7bd0c267b57b7c7774 (diff)
change temperature helper, turn off parameter substitution
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@33395 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
-rw-r--r--tools/XBMCLive/SDK/buildLive/Files/binary_local-includes/Hooks/hwSetup_NVIDIA.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/XBMCLive/SDK/buildLive/Files/binary_local-includes/Hooks/hwSetup_NVIDIA.sh b/tools/XBMCLive/SDK/buildLive/Files/binary_local-includes/Hooks/hwSetup_NVIDIA.sh
index 0d1536457b..689f56b80c 100644
--- a/tools/XBMCLive/SDK/buildLive/Files/binary_local-includes/Hooks/hwSetup_NVIDIA.sh
+++ b/tools/XBMCLive/SDK/buildLive/Files/binary_local-includes/Hooks/hwSetup_NVIDIA.sh
@@ -12,9 +12,9 @@ xbmcUser=$(getent passwd 1000 | sed -e 's/\:.*//')
mkdir -p /home/$xbmcUser/.xbmc/userdata
if [ ! -f /home/$xbmcUser/.xbmc/userdata/advancedsettings.xml ] ; then
- cat > /home/$xbmcUser/.xbmc/userdata/advancedsettings.xml << EOF
+ cat > /home/$xbmcUser/.xbmc/userdata/advancedsettings.xml << 'EOF'
<advancedsettings>
- <gputempcommand>echo "$(nvclock -T | sed -ne "s/=> GPU temp.*: \([0-9]\+\).*/\1/p") C"</gputempcommand>
+ <gputempcommand>echo "$(nvidia-settings -tq gpuCoreTemp) C"</gputempcommand>
</advancedsettings>
EOF
fi