summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/live-bottom/15autologin12
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/ ]