Skip to content

Commit

Permalink
Remove Xorg workaround for Intel cards if the system does not feature
Browse files Browse the repository at this point in the history
such a graphics card.
  • Loading branch information
lucasvr committed Apr 2, 2017
1 parent 0253a8c commit eb09882
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/StartLiveCD
Expand Up @@ -183,7 +183,8 @@ GrepReplace -B "/System/Index/bin/BootDriver Reboot" \
#######################################################
product=$(dmidecode --string system-product-name)
chassis=$(dmidecode --string chassis-manufacturer)
if [ "$product" = "VirtualBox" ] || [ "$product" = "VMware Virtual Platform" ] || [ "$chassis" = "QEMU" ]
intel_vga=$(lspci -nn | grep VGA | grep Intel)
if [ "$product" = "VirtualBox" ] || [ "$product" = "VMware Virtual Platform" ] || [ "$chassis" = "QEMU" ] || [ -z "$intel_vga" ]
then
rm -f /Programs/Xorg-Driver/Current/share/X11/xorg.conf.d/20-intel.conf
rm -f /Programs/Xorg-Driver/Current/lib/xorg/modules/drivers/vmware_drv.*
Expand Down

0 comments on commit eb09882

Please sign in to comment.