Export username

This commit is contained in:
maride 2017-08-07 18:16:05 +02:00
parent a5d2622f67
commit 66affd78c0

View File

@ -8,6 +8,7 @@ if [ "$answer" == "n" ] || [ "$answer" == "N" ]; then
else
echo -n " Name of your new user? "
read name
export username=$name
arch-chroot /mnt useradd -m $name
arch-chroot /mnt passwd $name
exit 0