From f6a18de0a83e8b99da200151dc6cfcc6ac61fb30 Mon Sep 17 00:00:00 2001 From: Jürn Brodersen Date: Fri, 27 Nov 2020 15:06:14 +0100 Subject: fix uws after system setup diff --git a/base/univention-bootsplash/univention-welcome-screen b/base/univention-bootsplash/univention-welcome-screen index b2ae917a22..6c214ed877 100755 --- a/base/univention-bootsplash/univention-welcome-screen +++ b/base/univention-bootsplash/univention-welcome-screen @@ -82,12 +82,25 @@ check_capabilities () { fi } -show_welcome_screen () { +start_plymouthd () { plymouthd if ! plymouth --ping; then echo "plymouthd not running. Do nothing and exit." exit 1 fi + for i in $(seq 30); do + plymouth --has-active-vt && break + sleep 1 + done + if ! plymouth --has-active-vt; then + echo "plymouth could not paint on active vt? Do nothing and exit." + plymouth quit + exit 1 + fi +} + +show_welcome_screen () { + start_plymouthd echo "going to plymouth welcome screen mode..." lang="${locale_default%%:*}" if [ -n "$lang" ]; then