aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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