X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-bottom%2F20xconfig;h=779a1c2bc9bab2ad57566ca1b297ca61f3eae600;hb=c9df233f3f817379e27d860738abafdee3463526;hp=8d315a53c8b510767c879e029c25696dd03f88f3;hpb=658c0f1514abe8176d76897c61cad8e0ba8ed610;p=live-boot-grml.git 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