mirror of https://github.com/tteck/Proxmox.git
Update adguard-v5.sh
This commit is contained in:
parent
374bf599b9
commit
8c07a3d680
|
@ -125,6 +125,7 @@ function default_settings() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function exit-script() {
|
function exit-script() {
|
||||||
|
clear
|
||||||
echo -e "⚠ User exited script \n"
|
echo -e "⚠ User exited script \n"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
|
@ -135,6 +136,8 @@ if CT_TYPE=$(whiptail --title "CONTAINER TYPE" --radiolist "Choose Type" 10 58 2
|
||||||
"0" "Privileged" OFF \
|
"0" "Privileged" OFF \
|
||||||
3>&1 1>&2 2>&3); then
|
3>&1 1>&2 2>&3); then
|
||||||
echo -e "${DGN}Using Container Type: ${BGN}$CT_TYPE${CL}"
|
echo -e "${DGN}Using Container Type: ${BGN}$CT_TYPE${CL}"
|
||||||
|
else
|
||||||
|
exit-script
|
||||||
fi
|
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
|
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
|
||||||
|
|
Loading…
Reference in New Issue