summaryrefslogtreecommitdiffstats
path: root/files/10no-xorg-conf.xsetup
diff options
context:
space:
mode:
Diffstat (limited to 'files/10no-xorg-conf.xsetup')
-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