I made a patch for the init script from bootsplash-0.6-r2 so that it supports different backgrounds for different TTY's. This patch will probably NOT work if you also patched the init script with the patches from bug 27682 and 26996. To put (for example) the default background on TTY3 (this is the 4th screen), put the following line in "/etc/conf.d/bootsplash": BOOTSPLASH_THEME3=default Reproducible: Always Steps to Reproduce: 1. 2. 3. here is the patch: --- /etc/init.d/bootsplash-OLD 2003-08-31 17:18:09.000000000 +0200 +++ /etc/init.d/bootsplash 2003-08-31 17:34:59.000000000 +0200 @@ -3,9 +3,29 @@ # source our config source /etc/conf.d/bootsplash.conf -if [ -z "${BOOTSPLASH_THEME}" ] +if [ -z "${BOOTSPLASH_THEME0}" ] then - BOOTSPLASH_THEME=default + BOOTSPLASH_THEME0=default +fi +if [ -z "${BOOTSPLASH_THEME1}" ] +then + BOOTSPLASH_THEME1=default +fi +if [ -z "${BOOTSPLASH_THEME2}" ] +then + BOOTSPLASH_THEME2=default +fi +if [ -z "${BOOTSPLASH_THEME3}" ] +then + BOOTSPLASH_THEME3=default +fi +if [ -z "${BOOTSPLASH_THEME4}" ] +then + BOOTSPLASH_THEME4=default +fi +if [ -z "${BOOTSPLASH_THEME5}" ] +then + BOOTSPLASH_THEME5=default fi depend() { @@ -29,10 +49,12 @@ RESOLUTION=$(/sbin/fbresolution) # switch to a usable image on all consoles - for TTY in `seq 0 5` - do - /sbin/splash -s -u $TTY /etc/bootsplash/${BOOTSPLASH_THEME}/config/bootsplash-${RESOLUTION}.cfg - done + /sbin/splash -s -u 0 /etc/bootsplash/${BOOTSPLASH_THEME0}/config/bootsplash-${RESOLUTION}.cfg + /sbin/splash -s -u 1 /etc/bootsplash/${BOOTSPLASH_THEME1}/config/bootsplash-${RESOLUTION}.cfg + /sbin/splash -s -u 2 /etc/bootsplash/${BOOTSPLASH_THEME2}/config/bootsplash-${RESOLUTION}.cfg + /sbin/splash -s -u 3 /etc/bootsplash/${BOOTSPLASH_THEME3}/config/bootsplash-${RESOLUTION}.cfg + /sbin/splash -s -u 4 /etc/bootsplash/${BOOTSPLASH_THEME4}/config/bootsplash-${RESOLUTION}.cfg + /sbin/splash -s -u 5 /etc/bootsplash/${BOOTSPLASH_THEME5}/config/bootsplash-${RESOLUTION}.cfg eend $? "Failed to set frame buffer console images" fi @@ -51,10 +73,10 @@ ebegin "Setting Console frame buffer images" # source bootsplash config - source /etc/bootsplash/${BOOTSPLASH_THEME}/config/bootsplash-$(/sbin/fbresolution).cfg + source /etc/bootsplash/${BOOTSPLASH_THEME0}/config/bootsplash-$(/sbin/fbresolution).cfg # Put bootsplash image up - /sbin/splash -s -u 0 /etc/bootsplash/${BOOTSPLASH_THEME}/config/bootsplash-$(/sbin/fbresolution).cfg + /sbin/splash -s -u 0 /etc/bootsplash/${BOOTSPLASH_THEME0}/config/bootsplash-$(/sbin/fbresolution).cfg # ensure "silent" image is displayed echo "silent" > /proc/splash
Created attachment 16898 [details, diff] patch for the bootsplash-0.6-r2 init script
!!! PLEASE DELETE THIS BUG !!! I posted this bug in a wrong way, can someone delete it ? The correct bug is http://bugs.gentoo.org/show_bug.cgi?id=27699
*** Bug 27699 has been marked as a duplicate of this bug. ***
Marking as a dup of Bug 27699, as requested *** This bug has been marked as a duplicate of 27699 ***