Skip to content

Commit

Permalink
Re-order some commands so we don't call log_begin_msg without calling…
Browse files Browse the repository at this point in the history
… log_end_msg.

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
  • Loading branch information
lamby committed Aug 12, 2008
1 parent bb55191 commit 67fa1c4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions scripts/live-bottom/15autologin
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions scripts/live-bottom/20xconfig
Expand Up @@ -27,8 +27,6 @@ fi

. /scripts/live-functions

log_begin_msg "Configuring X"

# live-initramfs script

if [ "${TERM_TYPE}" = "serial" ]
Expand All @@ -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
Expand Down

0 comments on commit 67fa1c4

Please sign in to comment.