mirror of
https://pagure.io/fedora-kickstarts.git
synced 2024-11-18 14:23:07 +00:00
13 lines
511 B
Plaintext
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
|
||
|
|