Add log files for scripts
This commit is contained in:
parent
b75139876b
commit
85d3760dc7
11
archtitus.sh
11
archtitus.sh
|
|
@ -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 "
|
||||
-------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Reference in New Issue