summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-08-12 01:13:25 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:48:01 +0100
commitcf052ec1816745240c65745a0de6cc4dce8c8433 (patch)
treefcb820c92724c676c4a6fffbeb63d609f4bdad1a
parent8bd41d1a551a814aa8c2cb6de09640fba6798f21 (diff)
downloadlive-boot-cf052ec1816745240c65745a0de6cc4dce8c8433.tar.gz
live-boot-cf052ec1816745240c65745a0de6cc4dce8c8433.zip
Re-order some commands so we don't call log_begin_msg without calling log_end_msg.
-rwxr-xr-xscripts/live-bottom/15autologin10
-rwxr-xr-xscripts/live-bottom/20xconfig4
2 files changed, 7 insertions, 7 deletions
diff --git a/scripts/live-bottom/15autologin b/scripts/live-bottom/15autologin
index ae653fd..bb9902e 100755
--- a/scripts/live-bottom/15autologin
+++ b/scripts/live-bottom/15autologin
@@ -20,17 +20,17 @@ esac
# live-initramfs header
+if [ -n "${NOXAUTOLOGIN}" ]
+then
+ exit 0
+fi
+
. /scripts/live-functions
log_begin_msg "Setting up automatic login"
# live-initramfs script
-if [ -n "${NOXAUTOLOGIN}" ]
-then
- exit 0
-fi
-
# chroot needed to handle symlinks correctly
if chroot /root [ -f /etc/gdm/gdm-cdd.conf ]
then
diff --git a/scripts/live-bottom/20xconfig b/scripts/live-bottom/20xconfig
index 4a80b21..c06a505 100755
--- a/scripts/live-bottom/20xconfig
+++ b/scripts/live-bottom/20xconfig
@@ -27,8 +27,6 @@ fi
. /scripts/live-functions
-log_begin_msg "Configuring X"
-
# live-initramfs script
if [ "${TERM_TYPE}" = "serial" ]
@@ -48,6 +46,8 @@ then
exit 0
fi
+log_begin_msg "Configuring X"
+
locale=en_US.UTF-8
mount -n -o bind /sys /root/sys