Fix tdm-trinity not starting on Ubuntu due to Plymouth hang

Continually retry tdm start on Ubuntu
(cherry picked from commit bbf51c9c34)
pull/92/head
Timothy Pearson 10 years ago committed by Slávek Banko
parent 506a260d0e
commit 84aaa3b131

@ -16,6 +16,9 @@ start on ((filesystem
stop on runlevel [016]
respawn
respawn limit unlimited
emits login-session-start
emits desktop-session-start
emits desktop-shutdown
@ -29,7 +32,7 @@ script
# quit plymouth all the time. Note that sleeping appears necessary
# as the VT freeing is somewhat delayed and TDM would otherwise go
# to configured KVT+1 (if plymouth was using it).
$(plymouth --quit && plymouth --wait && sleep 1) || :
$(plymouth --quit && sleep 1) || :
if [ "$RUNLEVEL" = S -o "$RUNLEVEL" = 1 ]
then
# Single-user mode

Loading…
Cancel
Save