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

Continually retry tdm start on Ubuntu
pull/3/head
Timothy Pearson 10 years ago
parent 7b0a795c6b
commit bbf51c9c34

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

Loading…
Cancel
Save