X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-bottom%2F15autologin;h=4de38f9f55c2822115430136e04ec28d7f58fcd2;hb=d0fbcc9b3747ab4339f7487e7d845b467962139c;hp=f15f033a0f9df921db514894b88c71531c235f05;hpb=833abaa35c3a77075dd57f3f1a3633d79109a5b4;p=live-boot-grml.git diff --git a/scripts/live-bottom/15autologin b/scripts/live-bottom/15autologin index f15f033..4de38f9 100755 --- a/scripts/live-bottom/15autologin +++ b/scripts/live-bottom/15autologin @@ -29,12 +29,14 @@ log_begin_msg "Setting up automatic login..." if [ -z "${NOXAUTOLOGIN}" ] then +# chroot needed to handle symlinks correctly if chroot /root [ -f /etc/gdm/gdm-cdd.conf ]; then GDMCONF=/etc/gdm/gdm-cdd.conf else GDMCONF=/etc/gdm/gdm.conf fi +# chroot needed to handle symlinks correctly if chroot /root [ -f ${GDMCONF} ]; then if [ "${BUILD_SYSTEM}" = "Debian" ]; then # true hack ! -- nohar