summaryrefslogtreecommitdiffstats
path: root/files
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2017-02-13 22:27:11 +0000
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2017-02-13 22:27:11 +0000
commit736655074c4bb84be9c0f1e659b275cab3e755a1 (patch)
tree9e5dc1cb1b04ffe1c0f05d81e0ab95c39780ca35 /files
parent40ae2f9c8ee83c6bd44321ea5fe80314ed52a2a5 (diff)
downloaddraklive-config-736655074c4bb84be9c0f1e659b275cab3e755a1.tar
draklive-config-736655074c4bb84be9c0f1e659b275cab3e755a1.tar.gz
draklive-config-736655074c4bb84be9c0f1e659b275cab3e755a1.tar.bz2
draklive-config-736655074c4bb84be9c0f1e659b275cab3e755a1.tar.xz
draklive-config-736655074c4bb84be9c0f1e659b275cab3e755a1.zip
Add a boot option to delete the xorg.conf file
Users report this is needed to get the nouveau driver to work with some graphics cards.
Diffstat (limited to 'files')
-rwxr-xr-xfiles/10no-xorg-conf.xsetup6
1 files changed, 6 insertions, 0 deletions
diff --git a/files/10no-xorg-conf.xsetup b/files/10no-xorg-conf.xsetup
new file mode 100755
index 0000000..bb5b289
--- /dev/null
+++ b/files/10no-xorg-conf.xsetup
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+# delete xorg.conf if the user asks us to.
+if /bin/grep -q noxorgconf /proc/cmdline; then
+ rm /etc/X11/xorg.conf
+fi