mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-01-25 18:16:17 +00:00
Update build.func
This commit is contained in:
parent
e30f96e038
commit
02a0d16bee
@ -588,12 +588,16 @@ install_script() {
|
|||||||
timezone=$(cat /etc/timezone)
|
timezone=$(cat /etc/timezone)
|
||||||
header_info
|
header_info
|
||||||
while true; do
|
while true; do
|
||||||
CHOICE=$(whiptail --backtitle "Proxmox VE Helper Scripts" --title "SETTINGS" --menu "Choose an option:" \
|
CHOICE=$(whiptail --backtitle "\e[1;34mProxmox VE Helper Scripts\e[0m" \
|
||||||
12 50 4 \
|
--title "\e[1;32mSETTINGS\e[0m" \
|
||||||
"1" "Default Settings" \
|
--menu "\e[1;33mChoose an option:\e[0m" \
|
||||||
"2" "Default Settings (with verbose)" \
|
12 50 4 \
|
||||||
"3" "Advanced Settings" \
|
"\e[1;36m1\e[0m" "Default Settings" \
|
||||||
"4" "Exit" --nocancel --default-item "1" 3>&1 1>&2 2>&3)
|
"\e[1;36m2\e[0m" "Default Settings (with verbose)" \
|
||||||
|
"\e[1;36m3\e[0m" "Advanced Settings" \
|
||||||
|
"\e[1;31m4\e[0m" "Exit" \
|
||||||
|
--nocancel \
|
||||||
|
--default-item "1" 3>&1 1>&2 2>&3)
|
||||||
|
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo -e "${CROSS}${RD} Menu canceled. Exiting.${CL}"
|
echo -e "${CROSS}${RD} Menu canceled. Exiting.${CL}"
|
||||||
|
Loading…
Reference in New Issue
Block a user