mirror of
https://pagure.io/fedora-kickstarts.git
synced 2024-12-22 05:35:26 +00:00
Don't set face image and use more robust way of setting gdm config from F9 cfg
This commit is contained in:
parent
58b5bff26e
commit
498e32146f
@ -63,12 +63,12 @@ cat >> /etc/rc.d/init.d/fedora-live << EOF
|
||||
# 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
|
||||
# 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
|
||||
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
|
||||
cat >> /etc/gdm/custom.conf << FOE
|
||||
[daemon]
|
||||
TimedLoginEnable=true
|
||||
TimedLogin=fedora
|
||||
TimedLoginDelay=60
|
||||
FOE
|
||||
|
||||
EOF
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user