mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
continue script logging on tty started
This commit is contained in:
parent
56e24c07dd
commit
81a3b4476d
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue