don't log to all ttys

This commit is contained in:
Tobias Powalowski 2023-08-01 12:56:32 +02:00
parent e2ffee6811
commit 022d46de23

View file

@ -41,7 +41,7 @@ echo -e "\e[1mInformation:\e[m Logging is done on \e[1m/dev/tty7\e[m..."
if [[ -n "${_L_COMPLETE}" || -n "${_L_INSTALL_COMPLETE}" ]]; then
_TITLE="Archboot $(uname -m) | Basic Setup | New Environment"
_KEEP="Logging to ${_LOG}."
_new_environment | _dialog --title "Initializing..." --gauge "${_KEEP} Waiting for pacman keyring..." 6 75 0 | tee -a /dev/ttyS0 /dev/ttyAMA0 /dev/ttyUSB0 /dev/pts/0 2>/dev/null
_new_environment | _dialog --title "Initializing..." --gauge "${_KEEP} Waiting for pacman keyring..." 6 75 0
fi
# Generate new images
if [[ -n "${_G_RELEASE}" ]]; then
@ -63,5 +63,5 @@ fi
if [[ -n "${_FULL_SYSTEM}" ]]; then
_TITLE="Archboot $(uname -m) | Basic Setup | Full System"
_KEEP="Logging to ${_LOG}."
_full_system | _dialog --title "Initializing..." --gauge "${_KEEP} Syncing package db..." 6 75 0 | tee -a /dev/ttyS0 /dev/ttyAMA0 /dev/ttyUSB0 /dev/pts/0 2>/dev/null
_full_system | _dialog --title "Initializing..." --gauge "${_KEEP} Syncing package db..." 6 75 0
fi