projects
/
live-boot-grml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adding casper 1.77+debian-5.
[live-boot-grml.git]
/
scripts
/
casper-bottom
/
15autologin
diff --git
a/scripts/casper-bottom/15autologin
b/scripts/casper-bottom/15autologin
index
5f7797a
..
cdaa038
100755
(executable)
--- a/
scripts/casper-bottom/15autologin
+++ b/
scripts/casper-bottom/15autologin
@@
-3,7
+3,7
@@
PREREQ=""
DESCRIPTION="Setting up automatic login..."
PREREQ=""
DESCRIPTION="Setting up automatic login..."
-. /scripts/functions
+. /scripts/
casper-
functions
prereqs()
{
prereqs()
{
@@
-27,6
+27,11
@@
else
fi
if chroot /root [ -f ${GDMCONF} ]; then
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/" \
# Configure GDM autologin
chroot /root sed -i \
-e "s/^AutomaticLoginEnable=.*\$/AutomaticLoginEnable=true/" \