Commit dd0ecf1203936e842b1f1d74c93edfa9dcdaa35e

Authored by Silvan Calarco
1 parent 0ec2ed0735
Exists in master

rc: restart plymouthd if it crashed

Showing 2 changed files with 6 additions and 1 deletions Side-by-side Diff

etc/rc.d/init.d/mountproc
... ... @@ -21,7 +21,6 @@
21 21  
22 22 progress=5
23 23 $PLYMOUTH message --text=$"System booting, please wait..."
24   -$PLYMOUTH update --status="$progress"
25 24  
26 25 if [ ! -e /sys/kernel ]; then
27 26 echo -n "Mounting sys file system: "
... ... @@ -64,6 +64,12 @@
64 64 fi
65 65 else
66 66 $PLYMOUTH message --text=$"Starting services..."
  67 + $PLYMOUTH --ping || {
  68 + # workaround for plymouth crashing
  69 + $PLYMOUTHD --attach-to-session
  70 + $PLYMOUTH --show-splash
  71 + $PLYMOUTH message --text=$"Starting services..."
  72 + }
67 73 fi
68 74  
69 75 allservicesnum=`ls -1 $rc_base/rc$runlevel.d/[S,K]* 2>/dev/null | wc -l`