Move chown/restorecon to the right place.

Add install icon on the desktop.
Remove ssmtp
This commit is contained in:
kevin 2009-09-22 16:38:33 -06:00
parent 40ca8b4ccc
commit 864692a1ee

View File

@ -147,8 +147,6 @@ xfwm4-themes
# save some space # save some space
-autofs -autofs
-nss_db -nss_db
-sendmail
ssmtp
-acpid -acpid
# system-config-printer does printer management better # system-config-printer does printer management better
# xfprint has now been made as optional in comps. # xfprint has now been made as optional in comps.
@ -174,12 +172,9 @@ cat >> /etc/rc.d/init.d/livesys << EOF
mkdir -p /home/liveuser/.config/xfce4 mkdir -p /home/liveuser/.config/xfce4
cat > /home/liveuser/.config/xfce4/helpers.rc <<EOF cat > /home/liveuser/.config/xfce4/helpers.rc << FOE
MailReader=sylpheed-claws MailReader=sylpheed-claws
FOE
chown -R liveuser:liveuser /home/liveuser
restorecon -R /home/liveuser
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
@ -191,6 +186,17 @@ TimedLogin=liveuser
TimedLoginDelay=60 TimedLoginDelay=60
FOE FOE
# Show harddisk install on the desktop
sed -i -e 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop
mkdir /home/liveuser/Desktop
cp /usr/share/applications/liveinst.desktop /home/liveuser/Desktop
chmod a+x /home/liveuser/Desktop/liveinst.desktop
# this goes at the end after all other changes.
chown -R liveuser:liveuser /home/liveuser
restorecon -R /home/liveuser
EOF EOF
%end %end