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\n6.7\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 |
# email_launcher in gnome panel points to evolution (sorry for the bad hack)
|
692 |
# email_launcher in gnome panel points to thunderbird - display info if thunderbird is not installed
|
686 |
if [ ! -e /usr/bin/evolution ]; then
|
- |
|
687 |
if [ -e /usr/bin/thunderbird ]; then
|
693 |
if [ ! -e /usr/bin/thunderbird ]; then
|
688 |
# start thunderbird instead of evolution
|
- |
|
689 |
ln -s /usr/bin/thunderbird /usr/bin/evolution
|
- |
|
690 |
else
|
- |
|
691 |
# display info
|
- |
|
692 |
echo 'zenity --info --text "Evolution email client is not installed"' > /usr/bin/evolution
|
694 |
echo 'zenity --info --text "Thunderbird email client is not installed"' > /usr/bin/thunderbird
|
693 |
chmod 755 /usr/bin/evolution
|
695 |
chmod 755 /usr/bin/thunderbird
|
694 |
fi
|
- |
|
695 |
fi
|
696 |
fi
|
696 |
|
697 |
|
697 |
# clean up yum
|
698 |
# clean up yum
|
698 |
yum clean all
|
699 |
yum clean all
|
699 |
|
700 |
|