summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2024-08-13 11:58:14 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2024-08-13 11:58:14 +0900
commit8049d3f069f9a4f908196fe2ed0e95144173ceac (patch)
tree609f069be13093fa395ca3c7a2a23550b00fab1e
parent28443a2ec210d155d42a1cfa313c737d3027c349 (diff)
Init
-rwxr-xr-xpublic/thesiah-debian.sh6
-rwxr-xr-xstatic/thesiah-debian.sh6
2 files changed, 6 insertions, 6 deletions
diff --git a/public/thesiah-debian.sh b/public/thesiah-debian.sh
index 9b93707..7f7c928 100755
--- a/public/thesiah-debian.sh
+++ b/public/thesiah-debian.sh
@@ -33,10 +33,10 @@ welcomemsg() {
getuserandpass() {
name=$(whiptail --inputbox "Please enter a name for the user account." 10 60 3>&1 1>&2 2>&3 3>&1) || error "User exited."
- pass=$(whiptail --passwordbox "Enter a password for the user." 10 60 3>&1 1>&2 2>&3 3>&1) || error "User exited."
+ pass1=$(whiptail --passwordbox "Enter a password for the user." 10 60 3>&1 1>&2 2>&3 3>&1) || error "User exited."
pass2=$(whiptail --passwordbox "Retype password." 10 60 3>&1 1>&2 2>&3 3>&1) || error "User exited."
- while ! [ "$pass" = "$pass2" ]; do
- pass=$(whiptail --passwordbox "Passwords do not match.\\n\\nEnter password again." 10 60 3>&1 1>&2 2>&3 3>&1)
+ while ! [ "$pass1" = "$pass2" ]; do
+ pass1=$(whiptail --passwordbox "Passwords do not match.\\n\\nEnter password again." 10 60 3>&1 1>&2 2>&3 3>&1)
pass2=$(whiptail --passwordbox "Retype password." 10 60 3>&1 1>&2 2>&3 3>&1)
done
}
diff --git a/static/thesiah-debian.sh b/static/thesiah-debian.sh
index 9b93707..7f7c928 100755
--- a/static/thesiah-debian.sh
+++ b/static/thesiah-debian.sh
@@ -33,10 +33,10 @@ welcomemsg() {
getuserandpass() {
name=$(whiptail --inputbox "Please enter a name for the user account." 10 60 3>&1 1>&2 2>&3 3>&1) || error "User exited."
- pass=$(whiptail --passwordbox "Enter a password for the user." 10 60 3>&1 1>&2 2>&3 3>&1) || error "User exited."
+ pass1=$(whiptail --passwordbox "Enter a password for the user." 10 60 3>&1 1>&2 2>&3 3>&1) || error "User exited."
pass2=$(whiptail --passwordbox "Retype password." 10 60 3>&1 1>&2 2>&3 3>&1) || error "User exited."
- while ! [ "$pass" = "$pass2" ]; do
- pass=$(whiptail --passwordbox "Passwords do not match.\\n\\nEnter password again." 10 60 3>&1 1>&2 2>&3 3>&1)
+ while ! [ "$pass1" = "$pass2" ]; do
+ pass1=$(whiptail --passwordbox "Passwords do not match.\\n\\nEnter password again." 10 60 3>&1 1>&2 2>&3 3>&1)
pass2=$(whiptail --passwordbox "Retype password." 10 60 3>&1 1>&2 2>&3 3>&1)
done
}