1
1
mirror of https://pagure.io/fedora-kickstarts.git synced 2024-11-13 20:34:22 +00:00
fedora-kickstarts/snippets/autologin-gdm.ks
2008-07-25 11:11:26 +02:00

13 lines
511 B
Plaintext

# %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