diff options
| author | Tara Rostami <132676256+TaraRostami@users.noreply.github.com> | 2024-12-20 20:33:27 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-20 20:33:27 +0300 |
| commit | 3f38c428524c8918ae58c9a3b43cf2565cacbcd2 (patch) | |
| tree | cb2d2475265fec558501a1943e0094bab0f69ab4 /install.sh | |
| parent | 49295661fdeed0b4fe3bdc246368fd9f22ac5374 (diff) | |
fail2ban: better ipv6 validation (#2615)
Diffstat (limited to 'install.sh')
| -rw-r--r-- | install.sh | 37 |
1 files changed, 19 insertions, 18 deletions
@@ -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}" |
