Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTara Rostami <132676256+TaraRostami@users.noreply.github.com>2024-12-20 20:33:27 +0300
committerGitHub <noreply@github.com>2024-12-20 20:33:27 +0300
commit3f38c428524c8918ae58c9a3b43cf2565cacbcd2 (patch)
treecb2d2475265fec558501a1943e0094bab0f69ab4 /install.sh
parent49295661fdeed0b4fe3bdc246368fd9f22ac5374 (diff)
fail2ban: better ipv6 validation (#2615)
Diffstat (limited to 'install.sh')
-rw-r--r--install.sh37
1 files changed, 19 insertions, 18 deletions
diff --git a/install.sh b/install.sh
index c6c52000..150ae86c 100644
--- a/install.sh
+++ b/install.sh
@@ -2,6 +2,7 @@
red='\033[0;31m'
green='\033[0;32m'
+blue='\033[0;34m'
yellow='\033[0;33m'
plain='\033[0m'
@@ -260,24 +261,24 @@ install_x-ui() {
systemctl start x-ui
echo -e "${green}x-ui ${tag_version}${plain} installation finished, it is running now..."
echo -e ""
- echo -e "x-ui control menu usages: "
- echo -e "----------------------------------------------"
- echo -e "SUBCOMMANDS:"
- echo -e "x-ui - Admin Management Script"
- echo -e "x-ui start - Start"
- echo -e "x-ui stop - Stop"
- echo -e "x-ui restart - Restart"
- echo -e "x-ui status - Current Status"
- echo -e "x-ui settings - Current Settings"
- echo -e "x-ui enable - Enable Autostart on OS Startup"
- echo -e "x-ui disable - Disable Autostart on OS Startup"
- echo -e "x-ui log - Check logs"
- echo -e "x-ui banlog - Check Fail2ban ban logs"
- echo -e "x-ui update - Update"
- echo -e "x-ui legacy - legacy version"
- echo -e "x-ui install - Install"
- echo -e "x-ui uninstall - Uninstall"
- echo -e "----------------------------------------------"
+ echo -e "┌───────────────────────────────────────────────────────┐
+│ ${blue}x-ui control menu usages (subcommands):${plain} │
+│ │
+│ ${blue}x-ui${plain} - Admin Management Script │
+│ ${blue}x-ui start${plain} - Start │
+│ ${blue}x-ui stop${plain} - Stop │
+│ ${blue}x-ui restart${plain} - Restart │
+│ ${blue}x-ui status${plain} - Current Status │
+│ ${blue}x-ui settings${plain} - Current Settings │
+│ ${blue}x-ui enable${plain} - Enable Autostart on OS Startup │
+│ ${blue}x-ui disable${plain} - Disable Autostart on OS Startup │
+│ ${blue}x-ui log${plain} - Check logs │
+│ ${blue}x-ui banlog${plain} - Check Fail2ban ban logs │
+│ ${blue}x-ui update${plain} - Update │
+│ ${blue}x-ui legacy${plain} - legacy version │
+│ ${blue}x-ui install${plain} - Install │
+│ ${blue}x-ui uninstall${plain} - Uninstall │
+└───────────────────────────────────────────────────────┘"
}
echo -e "${green}Running...${plain}"