diff --git a/packages/mediacenter/xbmc/init.d/60_setup-xbmc b/packages/mediacenter/xbmc/init.d/60_setup-xbmc index c93d48e8fa..296ae2252b 100755 --- a/packages/mediacenter/xbmc/init.d/60_setup-xbmc +++ b/packages/mediacenter/xbmc/init.d/60_setup-xbmc @@ -28,19 +28,6 @@ progress "setup XBMC" - # find used graphic driver - if [ -d /sys/module/i915 ]; then - DRIVER="intel" - elif [ -d /sys/module/nouveau ]; then - DRIVER="nouveau" - elif [ -d /sys/module/nvidia ]; then - DRIVER="nvidia" - elif [ -d /sys/module/radeon ]; then - DRIVER="radeon" - else - DRIVER="other" - fi - # # clean temp dir # @@ -130,13 +117,12 @@ EOF # # Always sync to vblank - if [ "$DRIVER" = "radeon" -o "$DRIVER" = "nvidia" ] ; then + if [ "$GPUTYPE" = "NVIDIA" -o "$GPUTYPE" = "RADEON" ] ; then cat >> $HOME/.xbmc/userdata/guisettings.xml << EOF 2 EOF fi - echo "" >> $HOME/.xbmc/userdata/guisettings.xml fi