summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-08-12 01:09:36 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:48:01 +0100
commit8bd41d1a551a814aa8c2cb6de09640fba6798f21 (patch)
treed575011f9e113c3d19dbd61862f7bdab2fd63c80
parent8549fbbbce5023761ebb40ceb1c052aeccf6deb3 (diff)
downloadlive-boot-8bd41d1a551a814aa8c2cb6de09640fba6798f21.tar.gz
live-boot-8bd41d1a551a814aa8c2cb6de09640fba6798f21.zip
Don't configure X when /usr/bin/X does not exist.
-rwxr-xr-xscripts/live-bottom/20xconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/live-bottom/20xconfig b/scripts/live-bottom/20xconfig
index 2a24ab5..4a80b21 100755
--- a/scripts/live-bottom/20xconfig
+++ b/scripts/live-bottom/20xconfig
@@ -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