X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-bottom%2F15autologin;h=4de38f9f55c2822115430136e04ec28d7f58fcd2;hb=refs%2Ftags%2Fdebian%2F1.95.1-1;hp=b24d428398ea703797a6711a9e2bb15f385ea592;hpb=25bcd436af6202932ad494c8ddd0a49999579924;p=live-boot-grml.git diff --git a/scripts/live-bottom/15autologin b/scripts/live-bottom/15autologin index b24d428..4de38f9 100755 --- a/scripts/live-bottom/15autologin +++ b/scripts/live-bottom/15autologin @@ -29,14 +29,16 @@ 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 + if [ "${BUILD_SYSTEM}" = "Debian" ]; then # true hack ! -- nohar chroot /root cp /usr/share/gdm/defaults.conf /etc/gdm/gdm.conf fi