Don't set face image and use more robust way of setting gdm config from F9 cfg

This commit is contained in:
Jeremy Katz 2008-08-11 10:52:45 -04:00
parent 58b5bff26e
commit 498e32146f

View File

@ -63,12 +63,12 @@ cat >> /etc/rc.d/init.d/fedora-live << EOF
# disable screensaver locking # disable screensaver locking
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /apps/gnome-screensaver/lock_enabled false >/dev/null gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /apps/gnome-screensaver/lock_enabled false >/dev/null
# set up timed auto-login for after 60 seconds # set up timed auto-login for after 60 seconds
sed -i -e 's/\[daemon\]/[daemon]\nTimedLoginEnable=true\nTimedLogin=fedora\nTimedLoginDelay=60/' /etc/gdm/custom.conf cat >> /etc/gdm/custom.conf << FOE
if [ -e /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png ] ; then [daemon]
cp /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png /home/fedora/.face TimedLoginEnable=true
chown fedora:fedora /home/fedora/.face TimedLogin=fedora
# TODO: would be nice to get e-d-s to pick this one up too... but how? TimedLoginDelay=60
fi FOE
EOF EOF