From a525a1262cef42373538015fbf907e2d5cef0b3b Mon Sep 17 00:00:00 2001 From: Chris Titus Date: Thu, 22 Aug 2024 21:37:26 -0500 Subject: [PATCH] setup archsetup.txt --- src/commands/system-setup/arch/server-setup.sh | 4 ++++ 1 file changed, 4 insertions(+) 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 " ------------------------------------------------------------------------- █████╗ ██████╗ ██████╗██╗ ██╗████████╗██╗████████╗██╗ ██╗███████╗