diff options
| author | Daniel Baumann <daniel@debian.org> | 2010-04-30 17:56:49 +0200 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:48:08 +0100 |
| commit | 0b9a1586779eb10e78ade3d88e38c0d5279d2de6 (patch) | |
| tree | 3d5234e0c4cb23af745ff371e6fee7240bd1577e /scripts | |
| parent | dab328b67dcbced58f5691380d061d7119523711 (diff) | |
| download | live-boot-0b9a1586779eb10e78ade3d88e38c0d5279d2de6.tar.gz live-boot-0b9a1586779eb10e78ade3d88e38c0d5279d2de6.zip | |
Merging casper 1.179.
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/live-bottom/15autologin | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/live-bottom/15autologin b/scripts/live-bottom/15autologin index 38c3a8f..dd66a83 100755 --- a/scripts/live-bottom/15autologin +++ b/scripts/live-bottom/15autologin @@ -55,6 +55,18 @@ then -e "s/^TimedLogin=.*\$/TimedLogin=${USERNAME}/" \ -e "s/^TimedLoginDelay=.*\$/TimedLoginDelay=10/" \ ${GDMCONF} +elif [ -e /root/etc/gdm3 ] +then + +cat > /root/etc/gdm3/daemon.conf << EOF +[daemon] +AutomaticLoginEnable=true +AutomaticLogin=$USERNAME +TimedLoginEnable=true +TimedLogin=$USERNAME +TimedLoginDelay=10 +EOF + fi if [ -d /root/etc/default/kdm.d/ ] |
