From 62e0ee2d03d56098c0a795afe56f0d136008ce5c Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Thu, 16 Nov 2023 22:07:53 +0100 Subject: [PATCH] add sleep before dialog is run --- usr/lib/archboot/login.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/usr/lib/archboot/login.sh b/usr/lib/archboot/login.sh index 200d11a3e..3f7afa72e 100644 --- a/usr/lib/archboot/login.sh +++ b/usr/lib/archboot/login.sh @@ -122,6 +122,7 @@ fi if [[ "${TTY}" = "tty1" ]] ; then if ! mount | grep -q zram0; then + sleep 1 _TITLE="Archboot ${_RUNNING_ARCH} | ${_RUNNING_KERNEL} | Basic Setup | ZRAM" _switch_root_zram | _dialog --title " Initializing System " --gauge "Creating /dev/zram0 with zstd compression..." 6 75 0 | tee -a /dev/ttyS0 /dev/ttyAMA0 /dev/ttyUSB0 /dev/pts/0 2>"${_NO_LOG}" # fix clear screen on all terminals