run_hook () { # don't paint again if we have a fbcondecor patched kernel [ -e /dev/fbsplash -o -e /dev/fbcondecor ] && return export SPLASH_MODE_REQ="off" SPLASH_MESSAGE_INIT="Initializing the Kernel..." . /etc/conf.d/splash case ",${splash}," in *,silent,* ) SPLASH_MODE_REQ=silent ;; *,verbose,* ) SPLASH_MODE_REQ=verbose esac [ "${SPLASH_MODE_REQ}" = 'silent' ] || return 0 export BOOT_MSG="${SPLASH_MESSAGE_INIT}" ## use 'init' to get fadein if in cmdline options /sbin/fbcondecor_helper 2 init 0 0 $SPLASH_THEME }