--- /etc/init.d/bootsplashOUD 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