View | Details | Raw Unified | Return to bug 6275
Collapse All | Expand All

(-)rc.d/init.d/functions (+28 lines)
Lines 741-745 $rem2" Link Here
741
	done
741
	done
742
}
742
}
743
743
744
splash_init()
745
{
746
	local splash_init=
747
	local splash_functions=/etc/init.d/functions-bootsplash
748
	local splash_config_dir=/etc/bootsplash
749
	local splash_proc=/proc/splash
750
	SourceIfNotEmpty /etc/sysconfig/bootsplash &&
751
	[ -r "$splash_functions" -a -d "$splash_config_dir" -a -r "$splash_proc" ] &&
752
	! grep -iwqs off "$splash_proc" &&
753
	SourceIfNotEmpty "$splash_functions" &&
754
	[ -n "$splash_init" ] &&
755
	$splash_init "$@"
756
}
757
758
splash_update()
759
{
760
	[ -x "$splash_exe" ] || return 0
761
762
	# update_splash name [progress]
763
	if [ -n "$2" ]; then
764
		splash_progress="$2"
765
	else 
766
		: $((splash_progress++))
767
	fi
768
769
	$splash_exe "$1"
770
}
771
744
# Load compatibility functions if required.
772
# Load compatibility functions if required.
745
[ -n "$WITHOUT_RC_COMPAT" ] || . /etc/init.d/functions-compat
773
[ -n "$WITHOUT_RC_COMPAT" ] || . /etc/init.d/functions-compat

Return to bug 6275