Add log files for scripts

This commit is contained in:
Austin Horstman 2022-01-10 21:46:42 -06:00
parent b75139876b
commit 85d3760dc7
1 changed files with 5 additions and 6 deletions

View File

@ -1,7 +1,6 @@
#!/bin/bash
# Find the name of the folder the scripts are in
SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
echo -ne "
-------------------------------------------------------------------------
@ -16,12 +15,12 @@ echo -ne "
-------------------------------------------------------------------------
Scripts are in directory named ArchTitus
"
bash startup.sh
( bash startup.sh )|& tee startup.log
source $SCRIPT_DIR/setup.conf
bash 0-preinstall.sh
arch-chroot /mnt /root/ArchTitus/1-setup.sh
arch-chroot /mnt /usr/bin/runuser -u $USERNAME -- /home/$USERNAME/ArchTitus/2-user.sh
arch-chroot /mnt /root/ArchTitus/3-post-setup.sh
( bash 0-preinstall.sh )|& tee 0-preinstall.log
( arch-chroot /mnt /root/ArchTitus/1-setup.sh )|& tee 1-setup.log
( arch-chroot /mnt /usr/bin/runuser -u $USERNAME -- /home/$USERNAME/ArchTitus/2-user.sh )|& tee 2-user.log
( arch-chroot /mnt /root/ArchTitus/3-post-setup.sh )|& tee 3-post-setup.log
echo -ne "
-------------------------------------------------------------------------