linuxrc: move splash initialization to splash_init()

master
Fabio Erculiani 12 years ago
parent 7048779cbc
commit f1f04247f4

@ -109,6 +109,14 @@ plymouth_newroot() {
is_plymouth_started && "${PLYMOUTH_BIN}" --newroot="${1}"
}
splash_init() {
if is_udev; then
# if udev, we can load the splash earlier
# In the plymouth case, udev will load KMS automatically
splashcmd init
fi
}
call_func_timeout() {
local func=$1 timeout=$2 pid watcher
[ $# -ne 2 ] && gen_die "call_func_timeout() called with $# arguments"

@ -289,12 +289,7 @@ else
bad_msg "Cannot find either udev or mdev"
fi
if is_udev
then
# if udev, we can load the splash earlier
# In the plymouth case, udev will load KMS automatically
splashcmd init
fi
splash_init
# Load modules listed in MY_HWOPTS if /lib/modules exists for the running kernel
if [ -z "${DO_modules}" ]

Loading…
Cancel
Save