77
77
78
78
# Uninstall Rustdesk Menu
79
79
choice=$( whiptail --title " $TITLE " --checklist \
80
- " What do you want to uninstall?
80
+ " Please choose what to uninstall:\n\n
81
81
$CHECKLIST_GUIDE \n\n$RUN_LATER_GUIDE " " $WT_HEIGHT " " $WT_WIDTH " 4 \
82
- " nginxconf " " (Removes Rustdesk Nginx config )" OFF \
83
- " nginxall " " (Removes *everything* releated to Nginx )" ON \
84
- " wget " " (Removes wget linux package )" ON \
85
- " unzip " " (Removes unzip linux package )" ON \
86
- " whiptail " " (Removes whiptail linux package )" ON \
87
- " dnsutils " " (Removes dnsutils linux package )" ON \
88
- " bind-utils " " (Removes bind-utils linux package)" ON \
89
- " bind " " (Removes bind linux package)" ON \
90
- " UFW " " (Removes UFW linux package plus rules )" ON \
91
- " Rustdesk LOGs " " (Removes RustDesk log dir )" ON \
92
- " Rustdesk Server " " (Removes Rustdesk server + services )" ON \
93
- " curl " " (Removes curl:// linux package)" OFF \
94
- " Certbot " " (Removes Certbot package plus Let's Encrypt )" " $CERTBOT_SWITCH " 3>&1 1>&2 2>&3 )
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 \
88
+ " curl " " (Linux package)" OFF \
89
+ " wget " " (Linux package)" ON \
90
+ " unzip " " (Linux package)" ON \
91
+ " whiptail " " (Linux package )" ON \
92
+ " dnsutils " " (Linux package )" ON \
93
+ " bind-utils " " (Linux package)" ON \
94
+ " bind " " (Linux package)" ON 3>&1 1>&2 2>&3 )
95
95
96
96
case " $choice " in
97
- * " nginxconf " * )
97
+ * " NGINX-RustDesk " * )
98
98
REMOVE_NGINX_CONF=" yes"
99
99
;;&
100
- * " nginxall " * )
100
+ * " NGINX " * )
101
101
REMOVE_NGINX_ALL=" yes"
102
102
;;&
103
103
* " wget" * )
104
104
REMOVE_WGET=" yes"
105
105
;;&
106
- * " unzip" * )
107
- REMOVE_UNZIP=" yes"
108
- ;;&
109
106
* " whiptail" * )
110
107
REMOVE_WHIPTAIL=" yes"
111
108
;;&
109
+ * " unzip" * )
110
+ REMOVE_UNZIP=" yes"
111
+ ;;&
112
112
* " dnsutils" * )
113
113
REMOVE_DNSUTILS=" yes"
114
114
;;&
@@ -121,10 +121,10 @@ case "$choice" in
121
121
* " UFW" * )
122
122
REMOVE_UFW=" yes"
123
123
;;&
124
- * " Rustdesk LOGs" * )
124
+ * " RustDesk- LOGs" * )
125
125
REMOVE_RUSTDESK_LOG=" yes"
126
126
;;&
127
- * " Rustdesk SERVER" * )
127
+ * " RustDesk- SERVER" * )
128
128
REMOVE_RUSTDESK_SERVER=" yes"
129
129
;;&
130
130
* " curl" * )
0 commit comments