diff --git a/src/commands/system-setup/arch/server-setup.sh b/src/commands/system-setup/arch/server-setup.sh index 9607b5ab..beb57db9 100755 --- a/src/commands/system-setup/arch/server-setup.sh +++ b/src/commands/system-setup/arch/server-setup.sh @@ -1,5 +1,9 @@ #!/bin/bash +# Redirect stdout and stderr to archsetup.txt and still output to console +exec > >(tee -i archsetup.txt) +exec 2>&1 + echo -ne " ------------------------------------------------------------------------- █████╗ ██████╗ ██████╗██╗ ██╗████████╗██╗████████╗██╗ ██╗███████╗