rc: restart plymouthd if not running (workaround for daemon stopping at runlevel change with non KMS drivers)
This commit is contained in:
parent
53b5df02a3
commit
b657f1df1c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user