Don't configure X when /usr/bin/X does not exist.
[live-boot-grml.git] / scripts / live-bottom / 20xconfig
index 2a24ab5..4a80b21 100755 (executable)
@@ -43,6 +43,11 @@ then
        exit 0
 fi
 
+if [ -x /root/usr/bin/X ]
+then
+       exit 0
+fi
+
 locale=en_US.UTF-8
 
 mount -n -o bind /sys /root/sys