Don't configure X.org if it's not installed.
[live-boot-grml.git] / scripts / live-bottom / 21xvidemode
index e1c1d46..24116e9 100755 (executable)
@@ -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"