summaryrefslogtreecommitdiff
path: root/build_gfxoverlay.sh
diff options
context:
space:
mode:
authorAndreas Loibl <andreas@andreas-loibl.de>2011-09-14 23:29:29 +0200
committerAndreas Loibl <andreas@andreas-loibl.de>2011-09-14 23:29:29 +0200
commit5ff70ab88b78950ab7d3db9493b682c62a0a6247 (patch)
tree5daf3c81508e58e21bf0bb95172a2671daf44378 /build_gfxoverlay.sh
parent135f861bcf002e277de575e19fb3a9eeac37da2b (diff)
downloadkanotix-5ff70ab88b78950ab7d3db9493b682c62a0a6247.zip
kanotix-5ff70ab88b78950ab7d3db9493b682c62a0a6247.tar.gz
kernel 3.0, LO 3.4, FF 6, gfxoverlay-xorg.conf
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"