Drop Latest change lines, add initial support for Debian/squeeze
[grml-live.git] / etc / grml / fai / config / scripts / GRMLBASE / 32-xorg
index 60d61dc..6f52a12 100755 (executable)
@@ -4,7 +4,6 @@
 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
 # Bug-Reports:   see http://grml.org/bugs/
 # License:       This file is licensed under the GPL v2 or any later version.
-# Latest change: Sun Sep 16 23:17:08 CEST 2007 [mika]
 ################################################################################
 
 set -u
@@ -14,5 +13,10 @@ if [ -r "$target/etc/X11/xorg.conf" ] ; then
    mv -f "$target"/etc/X11/xorg.conf "$target"/etc/X11/xorg.conf.debian
 fi
 
+if [ "$(readlink $target/etc/X11/X)" = "/bin/true" ] ; then
+   echo "Warning: /etc/X11/X is a symlink to /bin/true - fixing for you">&2
+   ln -sf /usr/bin/Xorg $target/etc/X11/X
+fi
+
 ## END OF FILE #################################################################
 # vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=3