summaryrefslogtreecommitdiff
path: root/build_gfxoverlay.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build_gfxoverlay.sh')
-rwxr-xr-xbuild_gfxoverlay.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/build_gfxoverlay.sh b/build_gfxoverlay.sh
index a494fbc..ef332b7 100755
--- a/build_gfxoverlay.sh
+++ b/build_gfxoverlay.sh
@@ -82,6 +82,8 @@ if [ -z "$(find overlay/ -name '*.ko')" ]; then
fi
cd overlay
rm -rf usr/sbin/update-initramfs etc/resolv.conf usr/src/NVIDIA-Linux* usr/src/ati-driver-installer* overlay.sh tmp var/log .??*
+rm -f etc/X11/xorg.conf.1st
+printf 'Section "Device"\n Identifier "Device0"\n Driver "'"$drv"'"\nEndSection\n' > etc/X11/xorg.conf
cd ..
mv overlay "overlay$bit-$drv-$ver"