make root actually use dialog prompt for password

pull/3/head
Amy 3 years ago
parent a870b1cbd0
commit 8ed8f18aa2
No known key found for this signature in database
GPG Key ID: 6672E6DD65BEA50B

@ -336,12 +336,6 @@ echo "127.0.0.1 ${HOSTNAME}.localdomain ${HOSTNAME}" >> /mnt/etc/hosts
clear
inf "Set a password for root"
done="nope"
while [[ "$done" == "nope" ]]; do
arch-chroot /mnt passwd
if [[ "$(echo $?)" == "0" ]]; then
done="yep"
fi
done
while [[ "$done" == "nope" ]]; do
passbox "Please enter root password"
passInit="$pass"

Loading…
Cancel
Save