change wording and layout of the menu

This commit is contained in:
Daniel Hansson 2023-10-06 12:22:50 +02:00 committed by GitHub
parent 14e66ba91e
commit fc76bec06b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,38 +77,38 @@ fi
# Uninstall Rustdesk Menu # Uninstall Rustdesk Menu
choice=$(whiptail --title "$TITLE" --checklist \ choice=$(whiptail --title "$TITLE" --checklist \
"What do you want to uninstall? "Please choose what to uninstall:\n\n
$CHECKLIST_GUIDE\n\n$RUN_LATER_GUIDE" "$WT_HEIGHT" "$WT_WIDTH" 4 \ $CHECKLIST_GUIDE\n\n$RUN_LATER_GUIDE" "$WT_HEIGHT" "$WT_WIDTH" 4 \
"nginxconf" "(Removes Rustdesk Nginx config)" OFF \ "Certbot" "(Everything related to Let's Encrypt)" "$CERTBOT_SWITCH" \
"nginxall" "(Removes *everything* releated to Nginx)" ON \ "RustDesk-LOGs" "(RustDesk log dir)" ON \
"wget" "(Removes wget linux package)" ON \ "RustDesk-SERVER" "(RustDesk server + RustDesk services)" ON \
"unzip" "(Removes unzip linux package)" ON \ "NGINX-RustDesk" "(RustDesk Nginx config)" OFF \
"whiptail" "(Removes whiptail linux package)" ON \ "NGINX" "(Linux package + ALL configs)" ON \
"dnsutils" "(Removes dnsutils linux package)" ON \ "UFW" "(Linux package + RustDesk rules)" ON \
"bind-utils" "(Removes bind-utils linux package)" ON \ "curl" "(Linux package)" OFF \
"bind" "(Removes bind linux package)" ON \ "wget" "(Linux package)" ON \
"UFW" "(Removes UFW linux package plus rules)" ON \ "unzip" "(Linux package)" ON \
"Rustdesk LOGs" "(Removes RustDesk log dir)" ON \ "whiptail" "(Linux package)" ON \
"Rustdesk Server" "(Removes Rustdesk server + services)" ON \ "dnsutils" "(Linux package)" ON \
"curl" "(Removes curl:// linux package)" OFF \ "bind-utils" "(Linux package)" ON \
"Certbot" "(Removes Certbot package plus Let's Encrypt)" "$CERTBOT_SWITCH" 3>&1 1>&2 2>&3) "bind" "(Linux package)" ON 3>&1 1>&2 2>&3)
case "$choice" in case "$choice" in
*"nginxconf"*) *"NGINX-RustDesk"*)
REMOVE_NGINX_CONF="yes" REMOVE_NGINX_CONF="yes"
;;& ;;&
*"nginxall"*) *"NGINX"*)
REMOVE_NGINX_ALL="yes" REMOVE_NGINX_ALL="yes"
;;& ;;&
*"wget"*) *"wget"*)
REMOVE_WGET="yes" REMOVE_WGET="yes"
;;& ;;&
*"unzip"*)
REMOVE_UNZIP="yes"
;;&
*"whiptail"*) *"whiptail"*)
REMOVE_WHIPTAIL="yes" REMOVE_WHIPTAIL="yes"
;;& ;;&
*"unzip"*)
REMOVE_UNZIP="yes"
;;&
*"dnsutils"*) *"dnsutils"*)
REMOVE_DNSUTILS="yes" REMOVE_DNSUTILS="yes"
;;& ;;&
@ -121,10 +121,10 @@ case "$choice" in
*"UFW"*) *"UFW"*)
REMOVE_UFW="yes" REMOVE_UFW="yes"
;;& ;;&
*"Rustdesk LOGs"*) *"RustDesk-LOGs"*)
REMOVE_RUSTDESK_LOG="yes" REMOVE_RUSTDESK_LOG="yes"
;;& ;;&
*"Rustdesk SERVER"*) *"RustDesk-SERVER"*)
REMOVE_RUSTDESK_SERVER="yes" REMOVE_RUSTDESK_SERVER="yes"
;;& ;;&
*"curl"*) *"curl"*)