Comment 5 for bug 93338

Revision history for this message
Kurt J. Bosch (kujub-deactivatedaccount) wrote :

Ooops - I'm sorry but the above patch does not work as expected, since grep finds itself allways. Here a fixed version:

Change
       if [ -z "$DISPLAY" ] && ! pidof usplash >/dev/null; then
to
       if ! ps -Ao comm,command | grep -q "^X.* vt$(fgconsole) " &&
           ! pidof usplash >/dev/null; then
(starting a new line after && should be OK)