Index: rc.d/init.d/functions =================================================================== RCS file: /home/cvs/cvsroot/service/rc.d/init.d/functions,v --- rc.d/init.d/functions 9 Mar 2005 13:24:48 -0000 1.61 +++ rc.d/init.d/functions 21 Mar 2005 14:34:37 -0000 @@ -741,5 +741,33 @@ $rem2" done } +splash_init() +{ + local splash_init= + local splash_functions=/etc/init.d/functions-bootsplash + local splash_config_dir=/etc/bootsplash + local splash_proc=/proc/splash + SourceIfNotEmpty /etc/sysconfig/bootsplash && + [ -r "$splash_functions" -a -d "$splash_config_dir" -a -r "$splash_proc" ] && + ! grep -iwqs off "$splash_proc" && + SourceIfNotEmpty "$splash_functions" && + [ -n "$splash_init" ] && + $splash_init "$@" +} + +splash_update() +{ + [ -x "$splash_exe" ] || return 0 + + # update_splash name [progress] + if [ -n "$2" ]; then + splash_progress="$2" + else + : $((splash_progress++)) + fi + + $splash_exe "$1" +} + # Load compatibility functions if required. [ -n "$WITHOUT_RC_COMPAT" ] || . /etc/init.d/functions-compat