summaryrefslogtreecommitdiff
path: root/scripts/live-bottom
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/live-bottom')
-rwxr-xr-xscripts/live-bottom/21xdriver5
-rwxr-xr-xscripts/live-bottom/21xvidemode5
2 files changed, 10 insertions, 0 deletions
diff --git a/scripts/live-bottom/21xdriver b/scripts/live-bottom/21xdriver
index 7a16589..075a53e 100755
--- a/scripts/live-bottom/21xdriver
+++ b/scripts/live-bottom/21xdriver
@@ -25,6 +25,11 @@ then
exit 0
fi
+if [ ! -x /root/usr/bin/X ]
+then
+ exit 0
+fi
+
. /scripts/live-functions
log_begin_msg "Configuring X video driver"
diff --git a/scripts/live-bottom/21xvidemode b/scripts/live-bottom/21xvidemode
index e1c1d46..24116e9 100755
--- a/scripts/live-bottom/21xvidemode
+++ b/scripts/live-bottom/21xvidemode
@@ -25,6 +25,11 @@ then
exit 0
fi
+if [ ! -x /root/usr/bin/X ]
+then
+ exit 0
+fi
+
. /scripts/live-functions
log_begin_msg "Configuring X video modes"