summaryrefslogtreecommitdiff
path: root/scripts/live-bottom/20xconfig
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/live-bottom/20xconfig')
-rwxr-xr-xscripts/live-bottom/20xconfig7
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/live-bottom/20xconfig b/scripts/live-bottom/20xconfig
index 8d315a5..779a1c2 100755
--- a/scripts/live-bottom/20xconfig
+++ b/scripts/live-bottom/20xconfig
@@ -34,7 +34,12 @@ log_begin_msg "Configuring X..."
if [ "${TERM_TYPE}" = "serial" ]
then
# Don't bother trying to configure or start X on a serial console
- rm -f /etc/rc?.d/S??[gxk]dm
+ rm -f /root/etc/rc?.d/S??[gkx]dm
+ exit 0
+fi
+
+if [ -n "${TEXTONLY}" ]
+then
exit 0
fi