1
1
mirror of https://pagure.io/fedora-kickstarts.git synced 2024-11-16 21:53:07 +00:00
fedora-kickstarts/snippets/autologin-gdm.ks

13 lines
511 B
Plaintext
Raw Normal View History

# %post modifications for gdm
cat >> /etc/rc.d/init.d/fedora-live << EOF
chown -R fedora:fedora /home/fedora
sed -i -e 's/\[daemon\]/[daemon]\nTimedLoginEnable=true\nTimedLogin=fedora\nTimedLoginDelay=60/' /etc/gdm/custom.conf
if [ -e /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png ] ; then
cp /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png /home/fedora/.face
chown fedora:fedora /home/fedora/.face
# TODO: would be nice to get e-d-s to pick this one up too... but how?
fi
EOF