2 # Filename: ${GRML_FAI_CONFIG}/config/scripts/GRMLBASE/32-xorg
3 # Purpose: make sure there does not exist /etc/X11/xorg.conf by default
4 # Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
5 # Bug-Reports: see http://grml.org/bugs/
6 # License: This file is licensed under the GPL v2 or any later version.
7 ################################################################################
12 if [ -r "$target/etc/X11/xorg.conf" ] ; then
13 mv -f "$target"/etc/X11/xorg.conf "$target"/etc/X11/xorg.conf.debian
16 if [ "$(readlink $target/etc/X11/X)" = "/bin/true" ] ; then
17 echo "Warning: /etc/X11/X is a symlink to /bin/true - fixing for you">&2
18 ln -sf /usr/bin/Xorg $target/etc/X11/X
21 ## END OF FILE #################################################################
22 # vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=2