From bf13274331e1a61810c44f05d5525b44668bf862 Mon Sep 17 00:00:00 2001 From: Rudy Bousset Date: Fri, 29 Nov 2019 20:23:19 +0100 Subject: Should be ok now --- arch-installer.sh | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/arch-installer.sh b/arch-installer.sh index b5976bb..e49c635 100755 --- a/arch-installer.sh +++ b/arch-installer.sh @@ -533,9 +533,10 @@ echo \"$hstnm\" > /etc/hostname echo \"127.0.0.1 localhost\" > /etc/hosts echo \"::1 localhost\" >> /etc/hosts echo \"127.0.1.1 $hstnm.localdomain $hstnm\" >> /etc/hosts -passwd +passwd < finishit.sh @@ -548,9 +549,10 @@ sed -i 's/# %wheel ALL=(ALL) ALL/%wheel ALL=(ALL) ALL/' /etc/sudoers\ else echo "useradd -m -s /bin/$usrshell $usr" >> finishit.sh fi - echo "passwd $usr + echo "passwd $usr <> finishit.sh fi if [ "$ltskern" = false ]; then @@ -571,9 +573,11 @@ grub-mkconfig -o /boot/grub/grub.cfg " >> finishit.sh fi chmod +x finishit.sh +mv finishit.sh /mnt/arch arch-chroot /mnt/arch <