firewallfalcons před 3 měsíci
rodič
revize
fffcbc61bd
1 změnil soubory, kde provedl 5 přidání a 0 odebrání
  1. 5 0
      menu.sh

+ 5 - 0
menu.sh

@@ -3362,6 +3362,11 @@ ssh_banner_menu() {
             press_enter
             ;;
         3)
+            # Force background service to regenerate to ensure the syntax error fix is applied
+            # even if the user didn't run the --install-setup command!
+            echo -e "${C_DIM}Re-syncing background limiter service...${C_RESET}"
+            setup_limiter_service >/dev/null 2>&1
+            
             if [[ ! -f "/etc/firewallfalcon/banners_enabled" ]]; then
                 echo -e "\n${C_RED}❌ You must ENABLE the Login Banner (Option 1) before you can preview it!${C_RESET}"
                 echo -e "${C_YELLOW}The service only generates these files while the feature is active.${C_RESET}"