-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbase.sh
21 lines (18 loc) · 807 Bytes
/
base.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash
bash 0-preinstall.sh
arch-chroot /mnt /arch-base/1-setup.sh
source /mnt/arch-base/.env
arch-chroot /mnt /usr/bin/runuser -u ${USERNAME} -- /home/${USERNAME}/arch-base/2-user.sh
arch-chroot /mnt /arch-base/3-post-setup.sh
arch-chroot /mnt /bin/bash -c "rm -rf /arch-base/"
echo "-------------------------------------------------"
echo "Complete "
echo "Rebooting in 5 seconds... "
echo "Press CTRL+C to cancel the reboot "
echo "-------------------------------------------------"
echo "Rebooting in 5 Seconds ..." && sleep 1
echo "Rebooting in 4 Seconds ..." && sleep 1
echo "Rebooting in 3 Seconds ..." && sleep 1
echo "Rebooting in 2 Seconds ..." && sleep 1
echo "Rebooting in 1 Second ..." && sleep 1
reboot now