From 81a3b4476dc951ab7b18640ca70179ef1a5f3478 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Thu, 2 Jun 2022 14:57:23 +0200 Subject: [PATCH] continue script logging on tty started --- usr/lib/archboot/update-installer.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/usr/lib/archboot/update-installer.sh b/usr/lib/archboot/update-installer.sh index 59534bc52..d39ec56a0 100644 --- a/usr/lib/archboot/update-installer.sh +++ b/usr/lib/archboot/update-installer.sh @@ -135,9 +135,7 @@ _zram_initialize() { mount -o discard /dev/zram0 /new_root # only run next step om tty1 cat << EOF > /etc/profile.d/zz-01-archboot.sh -[[ -z \$TTY ]] && TTY=\$(tty) -TTY=\${TTY#/dev/} -if [[ "\${TTY}" == "$(tty)" ]]; then +if [[ "\$(tty)" == "$(tty)" ]]; then clear update-installer.sh ${_RUN_OPTION} rm /etc/profile.d/zz-01-archboot.sh