diff options
author | 2011-03-08 12:17:49 -0600 | |
---|---|---|
committer | 2011-03-08 12:17:49 -0600 | |
commit | 5f7b10c49b6bcc998ab0989c028ebd55c228dbc8 (patch) | |
tree | 9ab88c50ceea0966ecad60c73746563722736c43 | |
parent | add --visit-items to dialog commands (diff) | |
download | livecd-tools-bl2-only.tar.gz livecd-tools-bl2-only.tar.bz2 livecd-tools-bl2-only.zip |
stop xdm if X11 is not requestedbl2-only
Xdm is being started very early in the boot sequence, before autoconfig,
so we need to stop it if the user doesn't want X11.
-rwxr-xr-x | init.d/autoconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/init.d/autoconfig b/init.d/autoconfig index 4854cb8..51657c8 100755 --- a/init.d/autoconfig +++ b/init.d/autoconfig @@ -588,8 +588,9 @@ start() { killall hwsetup 2>/dev/null echo "6" > /proc/sys/kernel/printk - if yesno "${SPEAKUP}" + if ! yesno "${X11}" then + rc-service xdm stop splash_manager -c set -t livecd-10 -m v > /dev/null 2>&1 reset chvt 1 |