diff --git a/scripts/2007.0/livecd.sh b/scripts/2007.0/livecd.sh index d85cd9f9..07402eff 100644 --- a/scripts/2007.0/livecd.sh +++ b/scripts/2007.0/livecd.sh @@ -1,6 +1,6 @@ #!/bin/bash -if [ -e /etc/X11/gdm/custom.conf ] +if [[ -e /etc/X11/gdm/custom.conf ]] then sed -e '/^[^#]\+=.\+$/d' /etc/X11/gdm/custom.conf > \ /etc/X11/gdm/custom.conf.old @@ -8,12 +8,23 @@ then /etc/X11/gdm/custom.conf fi -if [ -e /etc/X11/gdm/gdm.conf ] +if [[ -e /etc/X11/gdm/gdm.conf ]] then sed -i -e 's/gentoo-emergence/gentoo-livecd-2007.0/' \ /etc/X11/gdm/gdm.conf fi +if [[ -e /etc/conf.d/splash ]] +then + sed -i -e "/^# SPLASH_TTYS=/ s/^#//" /etc/conf.d/splash +fi + +if [[ -e /sbin/splash-functions.sh ]] +then + sed -i -e 's/type" cachedir "${spl_/type" tmpfs "${spl_/' \ + /sbin/splash-functions.sh +fi + gconftool-2 --direct \ --config-source xml:readwrite:/usr/livecd/gconf/gconf.xml.defaults \ --type string --set /desktop/gnome/background/picture_filename \ @@ -25,6 +36,3 @@ case `uname -m` in ;; esac -sed -i -e "/^# SPLASH_TTYS=/ s/^#//" /etc/conf.d/splash -sed -i -e 's/type" cachedir "${spl_/type" tmpfs "${spl_/' /sbin/splash-functions.sh -