From 8bd41d1a551a814aa8c2cb6de09640fba6798f21 Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Tue, 12 Aug 2008 01:09:36 +0100 Subject: [PATCH] Don't configure X when /usr/bin/X does not exist. --- scripts/live-bottom/20xconfig | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.1.4