Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
# 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
. /scripts/live-functions
-log_begin_msg "Configuring X"
-
# live-initramfs script
if [ "${TERM_TYPE}" = "serial" ]
exit 0
fi
+log_begin_msg "Configuring X"
+
locale=en_US.UTF-8
mount -n -o bind /sys /root/sys