diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2019-11-17 13:08:17 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2019-11-17 13:08:17 +0100 |
commit | 99fb5e432d07951cb429e7b4de34390e0447c2b4 (patch) | |
tree | 5724d955ef8a7ec0b4c9124e5e842ebfa8ef9e2a | |
parent | sleeps test (diff) | |
download | arch-installer-99fb5e432d07951cb429e7b4de34390e0447c2b4.tar.gz arch-installer-99fb5e432d07951cb429e7b4de34390e0447c2b4.tar.bz2 arch-installer-99fb5e432d07951cb429e7b4de34390e0447c2b4.tar.xz arch-installer-99fb5e432d07951cb429e7b4de34390e0447c2b4.tar.zst arch-installer-99fb5e432d07951cb429e7b4de34390e0447c2b4.zip |
Corrected missing if
-rwxr-xr-x | joes-arch-install-UEFI.sh | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/joes-arch-install-UEFI.sh b/joes-arch-install-UEFI.sh index b5fa298..0906498 100755 --- a/joes-arch-install-UEFI.sh +++ b/joes-arch-install-UEFI.sh @@ -506,8 +506,8 @@ arch-chroot /mnt/arch << ARCH_CHROOT pacman -S networkmanager Y ARCH_CHROOT -sleep 2 arch-chroot /mnt/arch << ARCH_CHROOT + sleep 2 systemctl enable NetworkManager sleep 2 clear @@ -517,8 +517,8 @@ arch-chroot /mnt/arch << ARCH_CHROOT # # #=================================# sed -i 's/#ForwardToSyslog=no/ForwardToSyslog=yes/' /etc/systemd/journald.conf + sleep 2 ARCH_CHROOT -sleep 2 if [[ $somemore == "true" ]]; then arch-chroot /mnt/arch << ARCH_CHROOT clear @@ -533,9 +533,9 @@ if [[ $somemore == "true" ]]; then Y ARCH_CHROOT fi -sleep 2 if [[ $intelamdgpu == "intel" && $somemore == "true" ]]; then arch-chroot /mnt/arch << ARCH_CHROOT + sleep 2 clear #===== V. CONFIGURING LINUX ======# # # @@ -550,8 +550,8 @@ ARCH_CHROOT fi sleep 2 if [[ $intelamdgpu == "amd" && $somemore == "true" ]]; then - sleep 2 arch-chroot /mnt/arch << ARCH_CHROOT + sleep 2 clear #===== V. CONFIGURING LINUX ======# # # @@ -564,15 +564,16 @@ if [[ $intelamdgpu == "amd" && $somemore == "true" ]]; then Y ARCH_CHROOT fi -sleep 2 +if [[ $isusr = "true" ]]; then arch-chroot /mnt/arch << ARCH_CHROOT + sleep 2 clear #===== V. CONFIGURING LINUX ======# # # # 10. Generating user # # # #=================================# - useradd -m -g wheel,audio -s /bin/zsh $usr + useradd -m -g wheel -s /bin/zsh $usr passwd $usr $usrpwd $usrpwd |