X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-bottom%2F20xconfig;h=779a1c2bc9bab2ad57566ca1b297ca61f3eae600;hb=c9df233f3f817379e27d860738abafdee3463526;hp=902335e469c68ec862d5bda8454cc3f9605f5eda;hpb=b15f95e06e40a70ed75c30b31cee89d43ec8196b;p=live-boot-grml.git diff --git a/scripts/live-bottom/20xconfig b/scripts/live-bottom/20xconfig index 902335e..779a1c2 100755 --- a/scripts/live-bottom/20xconfig +++ b/scripts/live-bottom/20xconfig @@ -31,10 +31,15 @@ log_begin_msg "Configuring X..." # live-initramfs script -if [ "$TERM_TYPE" = "serial" ] +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