Update adguard-v5.sh

This commit is contained in:
tteckster 2023-03-09 14:13:43 -05:00 committed by GitHub
parent 374bf599b9
commit 8c07a3d680
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -125,6 +125,7 @@ function default_settings() {
}
function exit-script() {
clear
echo -e "⚠ User exited script \n"
exit
}
@ -135,6 +136,8 @@ if CT_TYPE=$(whiptail --title "CONTAINER TYPE" --radiolist "Choose Type" 10 58 2
"0" "Privileged" OFF \
3>&1 1>&2 2>&3); then
echo -e "${DGN}Using Container Type: ${BGN}$CT_TYPE${CL}"
else
exit-script
fi
if PW1=$(whiptail --inputbox "Set Root Password (needed for root ssh access)" 8 58 --title "PASSWORD(leave blank for automatic login)" 3>&1 1>&2 2>&3); then