X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Fcasper-bottom%2F15autologin;h=cdaa038cab3ef1e749af388f4b36650f573de900;hb=refs%2Ftags%2Fdebian%2F1.79%2Bdebian-1;hp=5f7797a25db0de2e5884b98f9ace0cec16f5e5b4;hpb=4a0b1ba4d428c623d14bae7f0db85c80abb0da0a;p=live-boot-grml.git diff --git a/scripts/casper-bottom/15autologin b/scripts/casper-bottom/15autologin index 5f7797a..cdaa038 100755 --- a/scripts/casper-bottom/15autologin +++ b/scripts/casper-bottom/15autologin @@ -3,7 +3,7 @@ PREREQ="" DESCRIPTION="Setting up automatic login..." -. /scripts/functions +. /scripts/casper-functions prereqs() { @@ -27,6 +27,11 @@ else fi if chroot /root [ -f ${GDMCONF} ]; then + if [ "${BUILD_SYSTEM}" == "Debian" ]; then + # true hack ! -- nohar + chroot /root cp /usr/share/gdm/defaults.conf /etc/gdm/gdm.conf + fi + # Configure GDM autologin chroot /root sed -i \ -e "s/^AutomaticLoginEnable=.*\$/AutomaticLoginEnable=true/" \