From b657f1df1cb23a53cf5af4e3aadcc68f2e8b905b Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 21 Oct 2011 19:13:48 +0200 Subject: [PATCH] rc: restart plymouthd if not running (workaround for daemon stopping at runlevel change with non KMS drivers) --- etc/rc.d/init.d/rc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/etc/rc.d/init.d/rc b/etc/rc.d/init.d/rc index 81927ce..c665ec2 100755 --- a/etc/rc.d/init.d/rc +++ b/etc/rc.d/init.d/rc @@ -52,6 +52,12 @@ rex="[0-9][0-9]" 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 if [ "$runlevel" = "0" -o "$runlevel" = "6" ]; then