Skip to content

Commit 88d6186

Browse files
authored
Merge pull request #127 from enoch85/patch-1
Address comment
2 parents c87d313 + c840209 commit 88d6186

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

uninstall.sh

+15-15
Original file line numberDiff line numberDiff line change
@@ -79,25 +79,25 @@ fi
7979
choice=$(whiptail --title "$TITLE" --checklist \
8080
"Please choose what to uninstall:\n\n
8181
$CHECKLIST_GUIDE\n\n$RUN_LATER_GUIDE" "$WT_HEIGHT" "$WT_WIDTH" 4 \
82-
"Certbot" "(Everything related to Let's Encrypt)" "$CERTBOT_SWITCH" \
83-
"RustDesk-LOGs" "(RustDesk log dir)" ON \
84-
"RustDesk-SERVER" "(RustDesk server + RustDesk services)" ON \
85-
"NGINX-RustDesk" "(RustDesk Nginx config)" OFF \
86-
"NGINX" "(Linux package + ALL configs)" ON \
87-
"UFW" "(Linux package + RustDesk rules)" ON \
82+
"certbot" "(Everything related to Let's Encrypt)" "$CERTBOT_SWITCH" \
83+
"rustdesk-logs" "(RustDesk LOG dir)" ON \
84+
"rustdesk-server" "(RustDesk SERVER + RustDesk services)" ON \
85+
"nginx-rustdesk" "(RustDesk Nginx config)" OFF \
86+
"nginx" "(Linux webserver package + ALL configs)" ON \
87+
"ufw" "(Linux firewall package + RustDesk rules)" ON \
88+
"whiptail" "(Linux menu package)" ON \
8889
"curl" "(Linux package)" OFF \
89-
"wget" "(Linux package)" ON \
90-
"unzip" "(Linux package)" ON \
91-
"whiptail" "(Linux package)" ON \
90+
"wget" "(Linux package)" OFF \
91+
"unzip" "(Linux package)" OFF \
9292
"dnsutils" "(Linux package)" ON \
9393
"bind-utils" "(Linux package)" ON \
9494
"bind" "(Linux package)" ON 3>&1 1>&2 2>&3)
9595

9696
case "$choice" in
97-
*"NGINX-RustDesk"*)
97+
*"nginx-rustdesk"*)
9898
REMOVE_NGINX_CONF="yes"
9999
;;&
100-
*"NGINX"*)
100+
*"nginx"*)
101101
REMOVE_NGINX_ALL="yes"
102102
;;&
103103
*"wget"*)
@@ -118,19 +118,19 @@ case "$choice" in
118118
*"bind"*)
119119
REMOVE_BIND="yes"
120120
;;&
121-
*"UFW"*)
121+
*"ufw"*)
122122
REMOVE_UFW="yes"
123123
;;&
124-
*"RustDesk-LOGs"*)
124+
*"rustdesk-logs"*)
125125
REMOVE_RUSTDESK_LOG="yes"
126126
;;&
127-
*"RustDesk-SERVER"*)
127+
*"rustdesk-server"*)
128128
REMOVE_RUSTDESK_SERVER="yes"
129129
;;&
130130
*"curl"*)
131131
REMOVE_CURL="yes"
132132
;;&
133-
*"Certbot"*)
133+
*"certbot"*)
134134
REMOVE_CERTBOT="yes"
135135
;;&
136136
*)

0 commit comments

Comments
 (0)