Subversion Repositories livecd

Rev

Rev 391 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 391 Rev 409
Line 400... Line 400...
400
sed -i "s|^Terminal=.*|Terminal=true|"                            /usr/share/applications/system-config-firewall.desktop
400
sed -i "s|^Terminal=.*|Terminal=true|"                            /usr/share/applications/system-config-firewall.desktop
401
 
401
 
402
### don't use prelink on a running live image
402
### don't use prelink on a running live image
403
sed -i 's/PRELINKING=yes/PRELINKING=no/' /etc/sysconfig/prelink &>/dev/null
403
sed -i 's/PRELINKING=yes/PRELINKING=no/' /etc/sysconfig/prelink &>/dev/null
404
 
404
 
-
 
405
### Switching to Thunderbird as the default MUA
-
 
406
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults --type string --set /desktop/gnome/url-handlers/mailto/command "thunderbird %" >/dev/null
-
 
407
 
-
 
408
### Creating a file for anaconda, to create the correct grub entry
-
 
409
echo -e "SL.$(uname -m)\nScientific Linux\n6rolling\nyes" > /.buildstamp
405
 
410
 
406
###-----------------------------------------------------------------------
411
###-----------------------------------------------------------------------
407
# detecting disk partitions and logical volumes (disabled by default)
412
# detecting disk partitions and logical volumes (disabled by default)
408
# use boot parameter automount to enable it
413
# use boot parameter automount to enable it
409
###-----------------------------------------------------------------------
414
###-----------------------------------------------------------------------
Line 596... Line 601...
596
# (does not work in SL6 because system-config-keyboard is missing)
601
# (does not work in SL6 because system-config-keyboard is missing)
597
if [ "\\\$kb" ]; then
602
if [ "\\\$kb" ]; then
598
    exists system-config-keyboard --noui \\\$kb 
603
    exists system-config-keyboard --noui \\\$kb 
599
fi
604
fi
600
 
605
 
-
 
606
# Fix the "liveinst doesn't start in gui mode when not enough memory available" - switching to terminal mode
-
 
607
sed -i "s/Terminal=false/Terminal=true/" /home/$LIVECD_USER/Desktop/liveinst.desktop
601
 
608
 
602
EOF_lateinitscript
609
EOF_lateinitscript
603
#***********************************************************************
610
#***********************************************************************
604
# End of livesys-late script
611
# End of livesys-late script
605
#***********************************************************************
612
#***********************************************************************
Line 680... Line 687...
680
#rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-elrepo.org
687
#rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-elrepo.org
681
#rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
688
#rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
682
#rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
689
#rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
683
#rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-fabian
690
#rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-fabian
684
 
691
 
685
# evolution is in the gnome launch panel (bad workaround to start thunderbird instead)
692
# email_launcher in gnome panel points to thunderbird - display info if thunderbird is not installed
686
[ ! -e /usr/bin/evolution ] && ln -s /usr/bin/thunderbird /usr/bin/evolution
693
if [ ! -e /usr/bin/thunderbird ]; then
-
 
694
    echo 'zenity --info --text "Thunderbird email client is not installed"' > /usr/bin/thunderbird
-
 
695
    chmod 755 /usr/bin/thunderbird
-
 
696
fi
687
 
697
 
688
# clean up yum
698
# clean up yum
689
yum clean all
699
yum clean all
690
 
700
 
691
# workaround avahi segfault (#279301)
701
# workaround avahi segfault (#279301)