rc: restart plymouthd if not running (workaround for daemon stopping at runlevel change with non KMS drivers)

This commit is contained in:
Silvan Calarco 2011-10-21 19:13:48 +02:00
parent 53b5df02a3
commit b657f1df1c

View File

@ -52,6 +52,12 @@ rex="[0-9][0-9]"
export RUNLEVEL export RUNLEVEL
[ -e /run/plymouth/pid ] || {
# workaround for plymouthd stopping at runlevel change with non-KMS drivers
$PLYMOUTHD --attach-to-session --pid-file /run/plymouth/pid
$PLYMOUTH --show-splash
}
[ "$previous" != "N" ] && progressbase=10 || progressbase=65 [ "$previous" != "N" ] && progressbase=10 || progressbase=65
if [ "$runlevel" = "0" -o "$runlevel" = "6" ]; then if [ "$runlevel" = "0" -o "$runlevel" = "6" ]; then