mirror of
https://github.com/swissmakers/fail2ban-ui.git
synced 2026-04-11 13:47:05 +02:00
Make default jail state configurable
This commit is contained in:
@@ -93,7 +93,6 @@ func main() {
|
||||
}
|
||||
}
|
||||
|
||||
// isLOTRModeActive checks if LOTR mode is enabled in alert countries
|
||||
func isLOTRModeActive(alertCountries []string) bool {
|
||||
if len(alertCountries) == 0 {
|
||||
return false
|
||||
@@ -106,10 +105,10 @@ func isLOTRModeActive(alertCountries []string) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
// printWelcomeBanner prints a cool Tux banner with startup info.
|
||||
// printWelcomeBanner prints the Tux banner with startup info.
|
||||
func printWelcomeBanner(appPort string, isLOTRMode bool) {
|
||||
greeting := getGreeting()
|
||||
|
||||
|
||||
if isLOTRMode {
|
||||
const lotrBanner = `
|
||||
.--.
|
||||
|
||||
Reference in New Issue
Block a user