diff options
| author | MHSanaei <ho3ein.sanaei@gmail.com> | 2023-09-01 12:56:03 +0300 |
|---|---|---|
| committer | MHSanaei <ho3ein.sanaei@gmail.com> | 2023-09-01 12:56:03 +0300 |
| commit | a7470a71e40d944c29f1d638503973b29be05901 (patch) | |
| tree | aa8618c3936a2fb146013cb00c327f9019923ea3 /x-ui.sh | |
| parent | 6765babe7b740798a28dc91e16a7cd7d452890a3 (diff) | |
bash - Back to Main Menu button
Diffstat (limited to 'x-ui.sh')
| -rw-r--r-- | x-ui.sh | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -533,9 +533,13 @@ ssl_cert_issue_main() { echo -e "${green}\t1.${plain} Get SSL" echo -e "${green}\t2.${plain} Revoke" echo -e "${green}\t3.${plain} Force Renew" + echo -e "${green}\t0.${plain} Back to Main Menu" read -p "Choose an option: " choice case "$choice" in - 1) ssl_cert_issue ;; + 0) + show_menu ;; + 1) + ssl_cert_issue ;; 2) local domain="" read -p "Please enter your domain name to revoke the certificate: " domain @@ -730,8 +734,11 @@ warp_cloudflare() { echo -e "${green}\t2.${plain} Account Type (free, plus, team)" echo -e "${green}\t3.${plain} Turn on/off WireProxy" echo -e "${green}\t4.${plain} Uninstall WARP" + echo -e "${green}\t0.${plain} Back to Main Menu" read -p "Choose an option: " choice case "$choice" in + 0) + show_menu ;; 1) bash <(curl -sSL https://raw.githubusercontent.com/hamid-gh98/x-ui-scripts/main/install_warp_proxy.sh) ;; |
