From 5241802fd2effd0a9c94261d679a9ce63c795a7e Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Sun, 26 Dec 2021 23:58:18 -0300 Subject: [PATCH] Change width and height of passwordbox --- install.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index e22daa3..d0e6ace 100755 --- a/install.sh +++ b/install.sh @@ -153,14 +153,14 @@ networkConf() { } askForPassword() { - password=$(whiptail --passwordbox "Enter the password for ${1}." 0 0 3>&1 1>&2 2>&3) + password=$(whiptail --passwordbox "Enter the password for ${1}." 8 30 3>&1 1>&2 2>&3) exitIfCancel "You must enter a password." "${2}" - passwordRep=$(whiptail --passwordbox "Reenter password." 0 0 3>&1 1>&2 2>&3) + passwordRep=$(whiptail --passwordbox "Reenter password." 8 30 3>&1 1>&2 2>&3) exitIfCancel "You must enter a password." "${2}" while ! [ "$password" = "$passwordRep" ]; do - password=$(whiptail --passwordbox "Passwords do not match! Please enter the password again." 0 0 3>&1 1>&2 2>&3) + password=$(whiptail --passwordbox "Passwords do not match! Please enter the password again." 8 65 3>&1 1>&2 2>&3) exitIfCancel "You must enter a password." "${2}" - passwordRep=$(whiptail --passwordbox "Reenter password." 0 0 3>&1 1>&2 2>&3) + passwordRep=$(whiptail --passwordbox "Reenter password." 8 30 3>&1 1>&2 2>&3) exitIfCancel "You must enter a password." "${2}" done unset passwordRep